summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-13 16:00:52 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-13 16:00:52 (GMT)
commit16623fe3e606efdedead8ccccaf7ef583e1be97f (patch)
tree8fe2ed4b7e63046d0f5993435fee4447c7758dff
parent3d32be192cb6104058d9d45acb93ba58c6c6cddc (diff)
downloadcpython-16623fe3e606efdedead8ccccaf7ef583e1be97f.zip
cpython-16623fe3e606efdedead8ccccaf7ef583e1be97f.tar.gz
cpython-16623fe3e606efdedead8ccccaf7ef583e1be97f.tar.bz2
_os should be os; reported by Neal Norwitz.
-rw-r--r--Lib/webbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index dac40f6..e766771 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -179,7 +179,7 @@ class Grail:
import tempfile
tempdir = os.path.join(tempfile.gettempdir(),
".grail-unix")
- user = pwd.getpwuid(_os.getuid())[0]
+ user = pwd.getpwuid(os.getuid())[0]
filename = os.path.join(tempdir, user + "-*")
maybes = glob.glob(filename)
if not maybes: