Merge pull request #47 from pmuilu/master

Restore compatibility with Python 2.5
This commit is contained in:
Vincent Jacques
2012-06-20 13:08:20 -07:00
+5 -1
View File
@@ -12,10 +12,14 @@
# You should have received a copy of the GNU Lesser General Public License along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
import httplib
import json
import base64
import urllib
try:
import json
except ImportError:
import simplejson as json
import GithubException
class Requester: