diff options
author | 2012-05-12 17:28:52 +0200 | |
---|---|---|
committer | 2012-05-12 17:28:52 +0200 | |
commit | 3a82e76013624e931330e3726a22bf41088eb314 (patch) | |
tree | 133072dc26c5a829cfa50afb84d7ed0e09674225 /pygithub3/core/errors.py | |
parent | Merged pull request #4 from natw:services/pull_requests (diff) | |
download | python-github3-3a82e76013624e931330e3726a22bf41088eb314.tar.xz python-github3-3a82e76013624e931330e3726a22bf41088eb314.zip |
Unify json imports
Diffstat (limited to 'pygithub3/core/errors.py')
-rw-r--r-- | pygithub3/core/errors.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pygithub3/core/errors.py b/pygithub3/core/errors.py index 4a95df0..9b84479 100644 --- a/pygithub3/core/errors.py +++ b/pygithub3/core/errors.py @@ -1,11 +1,7 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- -try: - import simplejson as json -except ImportError: - import json - +from pygithub3.core.utils import json from pygithub3.exceptions import NotFound, BadRequest, UnprocessableEntity |