summaryrefslogtreecommitdiff
path: root/pokemontools/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-01 13:06:27 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-01 13:06:29 -0500
commitdf820deebca564cde28cfdf918d39348b33b2ded (patch)
treeb893e64cdb1ab314cca239f20dbf474073d5b964 /pokemontools/crystal.py
parent768046bfcd8f25955782caab82f7616c4303f3a4 (diff)
remove the 'json.read = json.loads' hack
There's no good reason to use json.read anymore, even in the case of jython.
Diffstat (limited to 'pokemontools/crystal.py')
-rw-r--r--pokemontools/crystal.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py
index 4941dc2..1f7f87a 100644
--- a/pokemontools/crystal.py
+++ b/pokemontools/crystal.py
@@ -17,10 +17,6 @@ import string
if not hasattr(json, "dumps"):
json.dumps = json.write
-# New versions of json don't have read anymore.
-if not hasattr(json, "read"):
- json.read = json.loads
-
from labels import (
remove_quoted_text,
line_has_comment_address,