Skip to content
Browse files

Merge branch 'master' of git://github.com/lucjon/Py-StackExchange

Conflicts:
	stackexchange/web.py
  • Loading branch information...
2 parents 5d14ead + 7dfe7c1 commit 918a3326387f8ddbd1c4341a0d8345be7fb92a5f @alnorth alnorth committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 stackexchange/web.py
View
2 stackexchange/web.py
@@ -37,7 +37,9 @@ def __init__(self, impose_throttling=False, throttle_stop=True, cache=True, cach
# The time, in seconds, to cache a response
self.cache_age = cache_age
+ # When we last made a request
window = datetime.datetime.now()
+ # Number of requests since last throttle window
num_requests = 0
def debug_print(self, *p):

0 comments on commit 918a332

Please sign in to comment.
Something went wrong with that request. Please try again.