mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +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
|
||||
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…
Add table
Add a link
Reference in a new issue