We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d61d0 commit 4796a04Copy full SHA for 4796a04
roundup/anypy/cookie_.py
@@ -4,7 +4,7 @@
4
from http import cookies as Cookie
5
from http.cookies import CookieError, BaseCookie, SimpleCookie
6
from http.cookies import _getdate as get_cookie_date
7
-except:
+except ImportError:
8
# Python 2.5-2.7
9
from Cookie import CookieError, BaseCookie, SimpleCookie
10
from Cookie import _getdate as get_cookie_date
0 commit comments