summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-25 17:37:48 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-25 17:37:48 +0000
commit978ce87c86e60fd49f078d5bea79715abea6d236 (patch)
treed17e2930d742bf01357199ab79ef2b0ac09a3eac
parentFix alias query. (diff)
downloadsynapse-978ce87c86e60fd49f078d5bea79715abea6d236.tar.xz
Comment unused variables.
-rw-r--r--synapse/storage/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index aa3c9f8c9c..3c8f3320f1 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -139,8 +139,8 @@ class StreamStore(SQLBaseStore):
             limit = MAX_STREAM_SIZE
 
         # From and to keys should be integers from ordering.
-        from_id = _StreamToken.parse_stream_token(from_key)
-        to_id = _StreamToken.parse_stream_token(to_key)
+        # from_id = _StreamToken.parse_stream_token(from_key)
+        # to_id = _StreamToken.parse_stream_token(to_key)
 
         if from_key == to_key:
             return defer.succeed(([], to_key))