[Python-checkins] python/dist/src/Lib cgitb.py,1.10,1.11 (original) (raw)

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Thu May 6 09:13:46 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22748

Modified Files: cgitb.py Log Message: [Bug #945063] Get file extension correct. (2.3 bugfix candidate)

Index: cgitb.py

RCS file: /cvsroot/python/python/dist/src/Lib/cgitb.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** cgitb.py 31 Mar 2004 20:17:56 -0000 1.10 --- cgitb.py 6 May 2004 13:13:44 -0000 1.11


*** 275,279 **** if self.logdir is not None: import os, tempfile ! suffix = ['.html', '.txt'][self.format=="html"] (fd, path) = tempfile.mkstemp(suffix=suffix, dir=self.logdir) try: --- 275,279 ---- if self.logdir is not None: import os, tempfile ! suffix = ['.txt', '.html'][self.format=="html"] (fd, path) = tempfile.mkstemp(suffix=suffix, dir=self.logdir) try:



More information about the Python-checkins mailing list