[Python-checkins] python/dist/src/Lib zipfile.py,1.29,1.30

gward@users.sourceforge.net gward@users.sourceforge.net
2003年6月17日 17:54:30 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv21376
Modified Files:
	zipfile.py 
Log Message:
Remove debug print on filename with NUL byte.
Index: zipfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/zipfile.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** zipfile.py	18 Jun 2003 00:53:06 -0000	1.29
--- zipfile.py	18 Jun 2003 00:54:28 -0000	1.30
***************
*** 121,125 ****
 if null_byte >= 0:
 filename = filename[0:null_byte]
- print "File name %s contains a suspicious null byte!" % filename
 # This is used to ensure paths in generated ZIP files always use
 # forward slashes as the directory separator, as required by the
--- 121,124 ----

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