From: Fred Drake Date: Tue, 13 Jun 2000 18:49:53 +0000 (+0000) Subject: James C. Ahlstron : X-Git-Tag: v2.0b1~1512 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=414ca6666ccbf5ac2caac0f60c07b686d03cda49;p=python James C. Ahlstron : Thanks to Hubert Hoegl for finding this bug. --- diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 7659ce4333..dfcf72f532 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -166,7 +166,7 @@ class ZipFile: x.volume, x.internal_attr, x.external_attr = centdir[15:18] # Convert date/time code to (year, month, day, hour, min, sec) x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F, - t>>11, (t>>5)&0x3F, t&0x1F * 2 ) + t>>11, (t>>5)&0x3F, (t&0x1F) * 2 ) self.filelist.append(x) self.NameToInfo[x.filename] = x if self.debug > 2: