mirror of
https://github.com/python/cpython.git
synced 2025-08-26 19:55:24 +00:00
_os should be os; reported by Neal Norwitz.
This commit is contained in:
parent
3d32be192c
commit
16623fe3e6
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Grail:
|
||||||
import tempfile
|
import tempfile
|
||||||
tempdir = os.path.join(tempfile.gettempdir(),
|
tempdir = os.path.join(tempfile.gettempdir(),
|
||||||
".grail-unix")
|
".grail-unix")
|
||||||
user = pwd.getpwuid(_os.getuid())[0]
|
user = pwd.getpwuid(os.getuid())[0]
|
||||||
filename = os.path.join(tempdir, user + "-*")
|
filename = os.path.join(tempdir, user + "-*")
|
||||||
maybes = glob.glob(filename)
|
maybes = glob.glob(filename)
|
||||||
if not maybes:
|
if not maybes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue