diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-12-16 15:24:03 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-12-16 15:24:03 +0000 |
commit | 3c7857e49b8dcad723d52174aba77c47453c0298 (patch) | |
tree | 96091f56e7fe5c91540a3390baa0eeb0d1e171c6 /synapse/events/__init__.py | |
parent | Remove annotate_event_with_state as nothing was using it. Update state tests ... (diff) | |
download | synapse-3c7857e49b8dcad723d52174aba77c47453c0298.tar.xz |
clean up coding style a bit
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index 984f14fce4..34b1b944ab 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -30,20 +30,20 @@ class _EventInternalMetadata(object): def _event_dict_property(key): - def getter(self): - return self._event_dict[key] + def getter(self): + return self._event_dict[key] - def setter(self, v): - self._event_dict[key] = v + def setter(self, v): + self._event_dict[key] = v - def delete(self): - del self._event_dict[key] + def delete(self): + del self._event_dict[key] - return property( - getter, - setter, - delete, - ) + return property( + getter, + setter, + delete, + ) class EventBase(object): |