We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a54427 commit cd2aeb3Copy full SHA for cd2aeb3
dyn/compat.py
@@ -2,7 +2,6 @@
2
"""python 2-3 compatability layer. The bulk of this was borrowed from
3
kennethreitz's requests module
4
"""
5
-
6
import sys
7
8
# -------
@@ -18,18 +17,6 @@
18
17
#: Python 3.x?
19
is_py3 = (_ver[0] == 3)
20
21
-# ---------
22
-# JSON
23
24
-try:
25
- import json
26
-except ImportError:
27
- try:
28
- import simplejson as json
29
- except ImportError:
30
- sys.exit('Could not find json or simplejson libraries.')
31
32
33
# -----------------
34
# Version Specifics
35
0 commit comments