mirror of https://github.com/python/cpython
Remove debug print on filename with NUL byte.
This commit is contained in:
parent
8e36d28f3c
commit
9b15878369
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue