[Python-3000-checkins] r67544 - python/branches/py3k/Lib/webbrowser.py

fred.drake python-3000-checkins at python.org
Fri Dec 5 03:47:42 CET 2008


Author: fred.drake
Date: Fri Dec  5 03:47:42 2008
New Revision: 67544

Log:
add missing import


Modified:
   python/branches/py3k/Lib/webbrowser.py

Modified: python/branches/py3k/Lib/webbrowser.py
==============================================================================
--- python/branches/py3k/Lib/webbrowser.py	(original)
+++ python/branches/py3k/Lib/webbrowser.py	Fri Dec  5 03:47:42 2008
@@ -223,6 +223,7 @@
         cmdline = [self.name] + raise_opt + args
 
         if remote or self.background:
+            import io
             inout = io.open(os.devnull, "r+")
         else:
             # for TTY browsers, we need stdin/out


More information about the Python-3000-checkins mailing list