diff options
author | Greg Ward <gward@python.net> | 2003-06-18 00:54:28 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2003-06-18 00:54:28 (GMT) |
commit | 9b1587836992c460d213b9bbc6f539516139bdf2 (patch) | |
tree | 175720cc3f1223ff052ef0942deb8879c5a3791d /Lib/zipfile.py | |
parent | 8e36d28f3c082d7c10e5d7cbbb5301ec6e0d7d32 (diff) | |
download | cpython-9b1587836992c460d213b9bbc6f539516139bdf2.zip cpython-9b1587836992c460d213b9bbc6f539516139bdf2.tar.gz cpython-9b1587836992c460d213b9bbc6f539516139bdf2.tar.bz2 |
Remove debug print on filename with NUL byte.
Diffstat (limited to 'Lib/zipfile.py')
-rw-r--r-- | Lib/zipfile.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 576eaf9..207fc34 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -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. |