summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-27 20:19:36 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-27 20:19:36 +0000
commite020574d65a994858ac53c45070ae5016090d2f3 (patch)
tree0d759eb3f0883e0341c81f0bc1268ec175d02e11 /synapse/rest
parentWait for events if the incremental sync is empty and a timeout is given (diff)
downloadsynapse-e020574d65a994858ac53c45070ae5016090d2f3.tar.xz
Fix Formatting
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index cc667ebafc..0c17208cd3 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -68,7 +68,6 @@ class SyncRestServlet(RestServlet):
         }
     """
 
-
     PATTERN = client_v2_pattern("/sync$")
     ALLOWED_SORT = set(["timeline,asc", "timeline,desc"])
     ALLOWED_PRESENCE = set(["online", "offline", "idle"])
@@ -114,12 +113,12 @@ class SyncRestServlet(RestServlet):
 
         sync_config = SyncConfig(
             user=user,
-            device="TODO", # TODO(mjark) Get the device_id from access_token
+            device="TODO",  # TODO(mjark) Get the device_id from access_token
             gap=gap,
             limit=limit,
             sort=sort,
             backfill=backfill,
-            filter="TODO", # TODO(mjark) Add the filter to the config.
+            filter="TODO",  # TODO(mjark) Add the filter to the config.
         )
 
         if since is not None: