]> granicus.if.org Git - python/commitdiff
Fixup old, invalid import.
authorJeremy Hylton <jeremy@alum.mit.edu>
Sat, 10 May 2008 20:38:40 +0000 (20:38 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sat, 10 May 2008 20:38:40 +0000 (20:38 +0000)
Lib/cookielib.py

index ee31f4600c637a6484c3795d403b25a10f3b4039..6c593908fa5ba01548ce11a0605e32abe1911897 100644 (file)
@@ -57,7 +57,7 @@ def _warn_unhandled_exception():
     # 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()