Ticket #10006: jsondecoder.patch
File jsondecoder.patch, 623 bytes (added by , 16 years ago) |
---|
-
django/utils/simplejson/__init__.py
119 119 if not use_system_version: 120 120 try: 121 121 from json import * # Python 2.6 preferred over local copy. 122 JSONDecoder # Make sure this is the right json module. 122 123 use_system_version = True 123 124 except ImportError: 124 125 pass 126 except NameError: 127 pass 125 128 126 129 # If all else fails, we have a bundled version that can be used. 127 130 if not use_system_version: