mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 03:13:52 +01:00
Add PEP8 newlines
This commit is contained in:
parent
1c8ee06877
commit
8c48450682
3 changed files with 3 additions and 3 deletions
|
@ -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,)
|
||||
|
|
|
@ -97,4 +97,4 @@ def serialize_event(hs, e):
|
|||
|
||||
d["user_id"] = d.pop("sender", None)
|
||||
|
||||
return d
|
||||
return d
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue