Skip to content
Browse files

Allow using the built-in JSON module (with Python 2.6) rather than ha…

…ving simplejson installed.
  • Loading branch information...
1 parent 1ce5f97 commit afc7741d06c8b7ab501da56eedd18027a5dc9bb1 @waywardmonkeys waywardmonkeys committed with metcalfc Nov 12, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1
@@ -3,7 +3,10 @@
import logging
import os
import re
-import simplejson
+ import simplejson
+except ImportError:
+ import json as simplejson
import sys
from git_command import GitCommand

0 comments on commit afc7741

Please sign in to comment.
Something went wrong with that request. Please try again.