summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-18 17:00:32 +0100
committerErik Johnston <erik@matrix.org>2015-06-18 17:00:32 +0100
commit6f6ebd216d6a84ee72f1becfb31bf40ba960e3e2 (patch)
tree18b3a9712a1288109599839cc9658f2a1cb31e1f /synapse/notifier.py
parentDocumentation (diff)
downloadsynapse-6f6ebd216d6a84ee72f1becfb31bf40ba960e3e2.tar.xz
PEP8
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 5475ee36ca..d6655f3f5a 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -305,8 +305,9 @@ class Notifier(object):
 
         result = None
         if timeout:
-            listener = None  # Will be set to a _NotificationListener that
-                             # we'll be waiting on. Allows us to cancel it.
+            # Will be set to a _NotificationListener that we'll be waiting on.
+            # Allows us to cancel it.
+            listener = None
 
             def timed_out():
                 if listener: