diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-11 17:10:22 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-11 17:10:22 +0000 |
commit | 54fdbc7e50dfdd80eda563536d08bdfef079937c (patch) | |
tree | 9d28877f14b914af743629010be54a01477ffddc /synapse/events/__init__.py | |
parent | Allow newer versions of syutil (diff) | |
parent | Bump syutil version (diff) | |
download | synapse-54fdbc7e50dfdd80eda563536d08bdfef079937c.tar.xz |
Merge pull request #66 from matrix-org/use-simplejson
Use simplejson
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index 8f0c6e959f..64e08223b0 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from synapse.util.frozenutils import freeze, unfreeze +from synapse.util.frozenutils import freeze class _EventInternalMetadata(object): @@ -140,10 +140,6 @@ class FrozenEvent(EventBase): return e - def get_dict(self): - # We need to unfreeze what we return - return unfreeze(super(FrozenEvent, self).get_dict()) - def __str__(self): return self.__repr__() |