diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-16 13:38:38 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-16 13:38:38 +0000 |
commit | 58168498b04eb9d0e85019fe485fa6b2ee79b422 (patch) | |
tree | 19b09100f1b7b5280ee548b4f02a4f558d62debf | |
parent | Better english in docstrings are helpful. (diff) | |
download | synapse-58168498b04eb9d0e85019fe485fa6b2ee79b422.tar.xz |
Remove FrozenEncoder
Diffstat (limited to '')
-rw-r--r-- | synapse/util/frozenutils.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/util/frozenutils.py b/synapse/util/frozenutils.py index 1fb67df6b9..1874464c8b 100644 --- a/synapse/util/frozenutils.py +++ b/synapse/util/frozenutils.py @@ -46,11 +46,3 @@ def unfreeze(o): pass return o - - -class FrozenEncoder(json.JSONEncoder): - def default(self, o): - if isinstance(o, frozendict): - return dict(o) - - return json.JSONEncoder(self, o) |