diff options
author | Fred Drake <fdrake@acm.org> | 2008-12-05 02:47:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2008-12-05 02:47:42 (GMT) |
commit | 608d574828b6bfdf21eff0f5401ab044cd628dec (patch) | |
tree | dd97d8c74068130a3d0011a02eed5385c7b7a768 /Lib/webbrowser.py | |
parent | bc9d4749f2f2af4c81c6c088a32ca5672d58a571 (diff) | |
download | cpython-608d574828b6bfdf21eff0f5401ab044cd628dec.zip cpython-608d574828b6bfdf21eff0f5401ab044cd628dec.tar.gz cpython-608d574828b6bfdf21eff0f5401ab044cd628dec.tar.bz2 |
add missing import
Diffstat (limited to 'Lib/webbrowser.py')
-rw-r--r-- | Lib/webbrowser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index 18dc11b..39f9b99 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -223,6 +223,7 @@ class UnixBrowser(BaseBrowser): 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 |