Skip to content

Commit cb99b99

Browse files
committed
adding support for simplejson for users <Py2.6
1 parent 37b7255 commit cb99b99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github/github.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
import xml
4141
import xml.dom.minidom
4242

43-
import json
43+
try: import simplejson as json
44+
except ImportError: import json
4445

4546
import hclient
4647

0 commit comments

Comments
 (0)