Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16623fe

Browse files
committed
_os should be os; reported by Neal Norwitz.
1 parent 3d32be1 commit 16623fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/webbrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _find_grail_rc(self):
179179
import tempfile
180180
tempdir = os.path.join(tempfile.gettempdir(),
181181
".grail-unix")
182-
user = pwd.getpwuid(_os.getuid())[0]
182+
user = pwd.getpwuid(os.getuid())[0]
183183
filename = os.path.join(tempdir, user + "-*")
184184
maybes = glob.glob(filename)
185185
if not maybes:

0 commit comments

Comments
 (0)