summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-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: