0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-14 16:48:18 +02:00

Add PEP8 newlines

This commit is contained in:
Erik Johnston 2014-12-09 10:58:31 +00:00
parent 1c8ee06877
commit 8c48450682
3 changed files with 3 additions and 3 deletions

View file

@ -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,)
return EventBuilder(key_values=key_values,)

View file

@ -97,4 +97,4 @@ def serialize_event(hs, e):
d["user_id"] = d.pop("sender", None)
return d
return d

View file

@ -55,4 +55,4 @@ class EventValidator(object):
def validate_new(self, event):
self.validate(event)
UserID.from_string(event.sender)
UserID.from_string(event.sender)