_os should be os; reported by Neal Norwitz.

This commit is contained in:
Fred Drake 2001-10-13 16:00:52 +00:00
parent 3d32be192c
commit 16623fe3e6
1 changed files with 1 additions and 1 deletions

View File

@ -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: