From 3a82e76013624e931330e3726a22bf41088eb314 Mon Sep 17 00:00:00 2001 From: David Medina Date: Sat, 12 May 2012 17:28:52 +0200 Subject: Unify json imports --- pygithub3/requests/base.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'pygithub3/requests/base.py') 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' -- cgit v1.2.3-59-g8ed1b