aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/requests/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/requests/base.py')
-rw-r--r--pygithub3/requests/base.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pygithub3/requests/base.py b/pygithub3/requests/base.py
index d3e18a3..13472b0 100644
--- a/pygithub3/requests/base.py
+++ b/pygithub3/requests/base.py
@@ -2,15 +2,11 @@
# -*- encoding: utf-8 -*-
import re
-try:
- import simplejson as json
-except ImportError:
- import json
+from pygithub3.core.utils import import_module, json
from pygithub3.exceptions import (RequestDoesNotExist, UriInvalid,
ValidationError, InvalidBodySchema)
from pygithub3.resources.base import Raw
-from pygithub3.core.utils import import_module
ABS_IMPORT_PREFIX = 'pygithub3.requests'