[Python-3000-checkins] r63001 - python/branches/py3k/Lib/cookielib.py
jeremy.hylton
python-3000-checkins at python.org
Sat May 10 22:38:40 CEST 2008
Author: jeremy.hylton
Date: Sat May 10 22:38:40 2008
New Revision: 63001
Log:
Fixup old, invalid import.
Modified:
python/branches/py3k/Lib/cookielib.py
Modified: python/branches/py3k/Lib/cookielib.py
==============================================================================
--- python/branches/py3k/Lib/cookielib.py (original)
+++ python/branches/py3k/Lib/cookielib.py Sat May 10 22:38:40 2008
@@ -57,7 +57,7 @@
# There are a few catch-all except: statements in this module, for
# catching input that's bad in unexpected ways. Warn if any
# exceptions are caught there.
- import warnings, traceback, StringIO
+ import io, warnings, traceback
f = io.StringIO()
traceback.print_exc(None, f)
msg = f.getvalue()
More information about the Python-3000-checkins
mailing list