Skip to content

Commit 4796a04

Browse files
committed
flake8 replace bare except with except ImportError.
1 parent f5d61d0 commit 4796a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/anypy/cookie_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from http import cookies as Cookie
55
from http.cookies import CookieError, BaseCookie, SimpleCookie
66
from http.cookies import _getdate as get_cookie_date
7-
except:
7+
except ImportError:
88
# Python 2.5-2.7
99
from Cookie import CookieError, BaseCookie, SimpleCookie
1010
from Cookie import _getdate as get_cookie_date

0 commit comments

Comments
 (0)