_os should be os; reported by Neal Norwitz.
This commit is contained in:
parent
3d32be192c
commit
16623fe3e6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue