From: Jeremy Hylton Date: Thu, 22 Feb 2001 13:24:27 +0000 (+0000) Subject: Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert. X-Git-Tag: v2.1b1~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5d3ea00b97910bd14fa32fea46c29fae5775edd;p=thirdparty%2FPython%2Fcpython.git Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert. --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 51571f9b99f9..2a0eeb6ff464 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -919,13 +919,13 @@ def Internaldate2tuple(resp): mon = Mon2num[mo.group('mon')] zonen = mo.group('zonen') - day = int(mo.group(day)) - year = int(mo.group(year)) - hour = int(mo.group(hour)) - min = int(mo.group(min)) - sec = int(mo.group(sec)) - zoneh = int(mo.group(zoneh)) - zonem = int(mo.group(zonem)) + day = int(mo.group('day')) + year = int(mo.group('year')) + hour = int(mo.group('hour')) + min = int(mo.group('min')) + sec = int(mo.group('sec')) + zoneh = int(mo.group('zoneh')) + zonem = int(mo.group('zonem')) # INTERNALDATE timezone must be subtracted to get UT