Skip to content

Commit

Permalink
made modifications to base rogue_geonode's data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
smesdaghi committed Dec 29, 2014
1 parent ee67c12 commit 6260963
Show file tree
Hide file tree
Showing 50 changed files with 8,072 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/lib/py/simplejson/__init__$py.class
Binary file not shown.
564 changes: 564 additions & 0 deletions scripts/lib/py/simplejson/__init__.py

Large diffs are not rendered by default.

3,339 changes: 3,339 additions & 0 deletions scripts/lib/py/simplejson/_speedups.c

Large diffs are not rendered by default.

Binary file added scripts/lib/py/simplejson/compat$py.class
Binary file not shown.
46 changes: 46 additions & 0 deletions scripts/lib/py/simplejson/compat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
"""Python 3 compatibility shims
"""
import sys
if sys.version_info[0] < 3:
PY3 = False
def b(s):
return s
def u(s):
return unicode(s, 'unicode_escape')
import cStringIO as StringIO
StringIO = BytesIO = StringIO.StringIO
text_type = unicode
binary_type = str
string_types = (basestring,)
integer_types = (int, long)
unichr = unichr
reload_module = reload
def fromhex(s):
return s.decode('hex')

else:
PY3 = True
if sys.version_info[:2] >= (3, 4):
from importlib import reload as reload_module
else:
from imp import reload as reload_module
import codecs
def b(s):
return codecs.latin_1_encode(s)[0]
def u(s):
return s
import io
StringIO = io.StringIO
BytesIO = io.BytesIO
text_type = str
binary_type = bytes
string_types = (str,)
integer_types = (int,)

def unichr(s):
return u(chr(s))

def fromhex(s):
return bytes.fromhex(s)

long_type = integer_types[-1]
Binary file added scripts/lib/py/simplejson/decoder$py.class
Binary file not shown.
Loading

0 comments on commit 6260963

Please sign in to comment.