summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-16 13:38:38 +0000
committerErik Johnston <erik@matrix.org>2014-12-16 13:38:38 +0000
commit58168498b04eb9d0e85019fe485fa6b2ee79b422 (patch)
tree19b09100f1b7b5280ee548b4f02a4f558d62debf
parentBetter english in docstrings are helpful. (diff)
downloadsynapse-58168498b04eb9d0e85019fe485fa6b2ee79b422.tar.xz
Remove FrozenEncoder
Diffstat (limited to '')
-rw-r--r--synapse/util/frozenutils.py8
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)