mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-07 17:21:58 +00:00
Add PEP8 newlines
This commit is contained in:
parent
1c8ee06877
commit
8c48450682
@ -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 New Issue
Block a user