From 89ed7d6d8ce2930c55679f6ec096878dc7cd8d4b Mon Sep 17 00:00:00 2001 From: Petteri Muilu Date: Tue, 19 Jun 2012 19:45:15 +0300 Subject: [PATCH] Testing with Python 2.5 --- github/Requester.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/github/Requester.py b/github/Requester.py index 301ed9d2..2dedae0a 100644 --- a/github/Requester.py +++ b/github/Requester.py @@ -12,10 +12,14 @@ # You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see . import httplib -import json import base64 import urllib +try: + import json +except ImportError: + import simplejson as json + import GithubException class Requester: