summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-15 16:17:36 +0100
committerErik Johnston <erik@matrix.org>2014-08-15 16:17:36 +0100
commitd260a42ca279fbca46f85b2c96bddc4f814ecef3 (patch)
tree41a27d45cdd901555b3e877d45b757848d199f7f /synapse/storage/__init__.py
parentComment. (diff)
downloadsynapse-d260a42ca279fbca46f85b2c96bddc4f814ecef3.tar.xz
PEP8 cleanups
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 750e86040e..ad36d14a36 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -87,7 +87,11 @@ class DataStore(RoomMemberStore, RoomStore,
             "content": json.dumps(event.content),
         }
 
-        unrec = {k: v for k, v in event.get_full_dict().items() if k not in vals.keys()}
+        unrec = {
+            k: v
+            for k, v in event.get_full_dict().items()
+            if k not in vals.keys()
+        }
         vals["unrecognized_keys"] = json.dumps(unrec)
 
         yield self._simple_insert("events", vals)