[Python-checkins] CVS: python/dist/src/Lib webbrowser.py,1.21,1.22
Fred L. Drake
fdrake@users.sourceforge.net
2001年10月13日 09:00:55 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv10353
Modified Files:
webbrowser.py
Log Message:
_os should be os; reported by Neal Norwitz.
Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** webbrowser.py 2001年08月13日 14:37:23 1.21
--- webbrowser.py 2001年10月13日 16:00:52 1.22
***************
*** 180,184 ****
tempdir = os.path.join(tempfile.gettempdir(),
".grail-unix")
! user = pwd.getpwuid(_os.getuid())[0]
filename = os.path.join(tempdir, user + "-*")
maybes = glob.glob(filename)
--- 180,184 ----
tempdir = os.path.join(tempfile.gettempdir(),
".grail-unix")
! user = pwd.getpwuid(os.getuid())[0]
filename = os.path.join(tempdir, user + "-*")
maybes = glob.glob(filename)