running lib2to3.fixes.fix_except

This commit is contained in:
ilvalle committed 2016-05-29 08:31:19 +02:00
1 parent 14830e8906
commit 35900da19b
35 files changed
+93 -92

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ class WebClient(object):
t0 = time.time()
self.response = opener.open(self.url, data)
self.time = time.time() - t0
except urllib2.HTTPError, error:
except urllib2.HTTPError as error:
# catch HTTP errors
self.time = time.time() - t0
self.response = error