Add PEP8 newlines

pull/4/merge
Erik Johnston 10 years ago
parent 1c8ee06877
commit 8c48450682
  1. 2
      synapse/events/builder.py
  2. 2
      synapse/events/utils.py
  3. 2
      synapse/events/validator.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,)
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…
Cancel
Save