Store timeout

This commit is contained in:
Erik Johnston 2015-06-17 15:29:31 +01:00
parent bddacb6dd1
commit 30b53812de

View file

@ -50,6 +50,7 @@ class _NotificationListener(object):
def __init__(self, deferred, timeout):
self.deferred = deferred
self.created = int(time.time() * 1000)
self.timeout = timeout
def notified(self):
return self.deferred.called