[Python-checkins] python/dist/src/Lib cgitb.py,1.6,1.7

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2002年12月30日 17:08:37 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv11164
Modified Files:
	cgitb.py 
Log Message:
Fix name error, found by pychecker.
Index: cgitb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cgitb.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cgitb.py	9 Aug 2002 16:37:33 -0000	1.6
--- cgitb.py	31 Dec 2002 01:08:35 -0000	1.7
***************
*** 194,198 ****
 if self.logdir is not None:
 import os, tempfile
! (fd, name) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
 dir=self.logdir)
 try:
--- 194,198 ----
 if self.logdir is not None:
 import os, tempfile
! (fd, path) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
 dir=self.logdir)
 try:

AltStyle によって変換されたページ (->オリジナル) /