diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-09 10:58:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-09 10:58:31 +0000 |
commit | 8c4845068298cf6e2b8a662ffa2340b655abf9b6 (patch) | |
tree | 0ba3c94dc06bb9db5b0104d7e165c56e3d8c89af /synapse | |
parent | Remove unused snapshot (diff) | |
download | synapse-8c4845068298cf6e2b8a662ffa2340b655abf9b6.tar.xz |
Add PEP8 newlines
Diffstat (limited to '')
-rw-r--r-- | synapse/events/builder.py | 2 | ||||
-rw-r--r-- | synapse/events/utils.py | 2 | ||||
-rw-r--r-- | synapse/events/validator.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py index 0b8caf9318..127b8fa904 100644 --- a/synapse/events/builder.py +++ b/synapse/events/builder.py @@ -66,4 +66,4 @@ class EventBuilderFactory(object): age = key_values["unsigned"].pop("age", 0) key_values["unsigned"].setdefault("age_ts", time_now - age) - return EventBuilder(key_values=key_values,) \ No newline at end of file + return EventBuilder(key_values=key_values,) diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 485f075406..f5e135e3d0 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -97,4 +97,4 @@ def serialize_event(hs, e): d["user_id"] = d.pop("sender", None) - return d \ No newline at end of file + return d diff --git a/synapse/events/validator.py b/synapse/events/validator.py index 7dc9506ec4..f319072d37 100644 --- a/synapse/events/validator.py +++ b/synapse/events/validator.py @@ -55,4 +55,4 @@ class EventValidator(object): def validate_new(self, event): self.validate(event) - UserID.from_string(event.sender) \ No newline at end of file + UserID.from_string(event.sender) |