From 9b1587836992c460d213b9bbc6f539516139bdf2 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Wed, 18 Jun 2003 00:54:28 +0000 Subject: [PATCH] Remove debug print on filename with NUL byte. --- Lib/zipfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 576eaf97d0..207fc34262 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. -- 2.50.1