Message179401
found a typo (removed LoadError)
commit 80f2b1273e8c0e1a28fabe537ae9c5acbbcee187
Author: Andrew Svetlov <andrew.svetlov@gmail.com>
Date: Tue Dec 25 16:47:37 2012 +0200
Replace IOError with OSError (#16715)
...
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index a77dc3f..7928e9b 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
...
@@ -1786,7 +1786,7 @@ class FileCookieJar(CookieJar):
self._cookies = {}
try:
self.load(filename, ignore_discard, ignore_expires)
- except (LoadError, IOError):
+ except OSError:
self._cookies = old_state
raise |
|
Date |
User |
Action |
Args |
2013-01-08 23:49:27 | py.user | set | recipients:
+ py.user, asvetlov, python-dev |
2013-01-08 23:49:27 | py.user | set | messageid: <1357688967.7.0.0581684235023.issue16715@psf.upfronthosting.co.za> |
2013-01-08 23:49:27 | py.user | link | issue16715 messages |
2013-01-08 23:49:27 | py.user | create | |
|