Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove obsolete imports.

  • Loading branch information...
commit 49a6033252d49abd21e85d69862975a155de3f90 1 parent a887c2b
@ockham ockham authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 issues.py
View
5 issues.py
@@ -28,9 +28,6 @@
trackers = soup.document.find('trackers', recursive=False).findAll('tracker', recursive=False)
-from urllib import urlencode
-from urllib2 import HTTPError
-from base64 import b64encode
from time import sleep
from getpass import getpass
import requests
@@ -53,7 +50,7 @@ def rest_call(method, request, data=None):
while True:
try:
return __rest_call_unchecked(method, request, data)
- except HTTPError, e:
+ except requests.HTTPError, e:
print "Got HTTPError:", e
l = data_dict and max(map(len, data_dict.itervalues())) or 0
if e.code == 413 or l >= 100000: # Request Entity Too Large
Please sign in to comment.
Something went wrong with that request. Please try again.