diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-15 16:17:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-15 16:17:36 +0100 |
commit | d260a42ca279fbca46f85b2c96bddc4f814ecef3 (patch) | |
tree | 41a27d45cdd901555b3e877d45b757848d199f7f /synapse/storage/__init__.py | |
parent | Comment. (diff) | |
download | synapse-d260a42ca279fbca46f85b2c96bddc4f814ecef3.tar.xz |
PEP8 cleanups
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 6 |
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) |