summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dan@illicitonion.com>2015-07-20 06:32:12 -0700
committerDaniel Wagner-Hall <dan@illicitonion.com>2015-07-20 06:32:12 -0700
commit53d1174aa9f984b2c2b012e9acd1bf52512998f9 (patch)
tree29f0395b6e10288374eac7269c4954d39493d628
parentRemove semicolon. (diff)
downloadsynapse-53d1174aa9f984b2c2b012e9acd1bf52512998f9.tar.xz
Improve naming
-rw-r--r--synapse/notifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 85ae343135..dbd8efe9fb 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -352,10 +352,10 @@ class Notifier(object):
                 after_id = getattr(after_token, keyname)
                 if before_id == after_id:
                     continue
-                stuff, new_key = yield source.get_new_events_for_user(
+                new_events, new_key = yield source.get_new_events_for_user(
                     user, getattr(from_token, keyname), limit,
                 )
-                events.extend(stuff)
+                events.extend(new_events)
                 end_token = end_token.copy_and_replace(keyname, new_key)
 
             if events: