Remove debug print on filename with NUL byte.

This commit is contained in:
Greg Ward 2003-06-18 00:54:28 +00:00
parent 8e36d28f3c
commit 9b15878369
1 changed files with 0 additions and 1 deletions

View File

@ -120,7 +120,6 @@ class ZipInfo:
null_byte = filename.find(chr(0))
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
# ZIP format specification.