summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-18 10:57:42 +0100
committerErik Johnston <erik@matrix.org>2015-06-18 10:57:42 +0100
commit9bc36b7f312b53d48c85e721f9928839d71b6425 (patch)
treef06cfb2d4fe9f49f59c9c3e520f6d084a8cbd496
parentMark as notified (diff)
downloadsynapse-9bc36b7f312b53d48c85e721f9928839d71b6425.tar.xz
Don't reuse name
-rw-r--r--synapse/notifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 2b1fdc0ab6..1a6a2c780c 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -51,7 +51,7 @@ class _NotificationListener(object):
         self.deferred = deferred
         self.created = int(time.time() * 1000)
         self.timeout = timeout
-        self.notified = False
+        self.have_notified = False
 
     def notified(self):
         return self.deferred.called
@@ -59,7 +59,7 @@ class _NotificationListener(object):
     def notify(self, token):
         """ Inform whoever is listening about the new events.
         """
-        self.notified = True
+        self.have_notified = True
         try:
             self.deferred.callback(token)
         except defer.AlreadyCalledError: