Skip to content

Commit f5d61d0

Browse files
committed
flak8 fixes: replace bare except with except ImportError
1 parent 16bfbcc commit f5d61d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/anypy/urllib_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from urllib.parse import quote, unquote, urlencode, urlparse, parse_qs, \
55
urlunparse
66
from urllib.request import urlopen
7-
except:
7+
except ImportError:
88
# Python 2.5-2.7
99
from urllib import quote, unquote, urlencode
1010
from urllib2 import urlopen

0 commit comments

Comments
 (0)