RateLimit does not have method attribute
Fixes Bug #1103220. RateLimit class raises Exceptions anytime __repr__ is called because cls does not have method attribute. Change-Id: I7db2e1a3afddaae18d006e0cc884e9910afb8eaf
This commit is contained in:
parent
5b8099cd0e
commit
ffe13ef94a
@ -48,7 +48,7 @@ class RateLimit(object):
|
||||
and self.next_available == other.next_available
|
||||
|
||||
def __repr__(self):
|
||||
return "<RateLimit: method=%s uri=%s>" % (self.method, self.uri)
|
||||
return "<RateLimit: verb=%s uri=%s>" % (self.verb, self.uri)
|
||||
|
||||
|
||||
class AbsoluteLimit(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user