fred.drake
2008-12-05 02:47:42 UTC
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
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