aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/base.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-12 17:28:52 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-12 17:28:52 +0200
commit3a82e76013624e931330e3726a22bf41088eb314 (patch)
tree133072dc26c5a829cfa50afb84d7ed0e09674225 /pygithub3/resources/base.py
parentMerged pull request #4 from natw:services/pull_requests (diff)
downloadpython-github3-3a82e76013624e931330e3726a22bf41088eb314.tar.xz
python-github3-3a82e76013624e931330e3726a22bf41088eb314.zip
Unify json imports
Diffstat (limited to 'pygithub3/resources/base.py')
-rw-r--r--pygithub3/resources/base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pygithub3/resources/base.py b/pygithub3/resources/base.py
index 4ca2aa3..7045529 100644
--- a/pygithub3/resources/base.py
+++ b/pygithub3/resources/base.py
@@ -1,10 +1,7 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
-try:
- import simplejson as json
-except ImportError:
- import json
+from pygithub3.core.utils import json
class Resource(object):