]> granicus.if.org Git - python/commitdiff
Remove debug print on filename with NUL byte.
authorGreg Ward <gward@python.net>
Wed, 18 Jun 2003 00:54:28 +0000 (00:54 +0000)
committerGreg Ward <gward@python.net>
Wed, 18 Jun 2003 00:54:28 +0000 (00:54 +0000)
Lib/zipfile.py

index 576eaf97d03322b4e6decc5a97d31cccd70a05c7..207fc34262b03853b49cf1da4b05307aaaa1ded8 100644 (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.