mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Merge pull request #47 from pmuilu/master
Restore compatibility with Python 2.5
This commit is contained in:
+5
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user