Skip to content

Commit

Permalink
Merge pull request #61 from adamgilman/patch-1
Browse files Browse the repository at this point in the history
adding support for simplejson for users <Py2.6

Slightly uncomfortable with the try/something/except/something
on two lines, but I've been seeing more of that lately, so
we'll go with it.
  • Loading branch information
dustin committed Nov 4, 2011
2 parents 37b7255 + cb99b99 commit 03ac21d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion github/github.py
Expand Up @@ -40,7 +40,8 @@
import xml
import xml.dom.minidom

import json
try: import simplejson as json
except ImportError: import json

import hclient

Expand Down

0 comments on commit 03ac21d

Please sign in to comment.