Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f5d3ea0

Browse files
committed
Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert.
1 parent 793de09 commit f5d3ea0

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Lib/imaplib.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -919,13 +919,13 @@ def Internaldate2tuple(resp):
919919
mon = Mon2num[mo.group('mon')]
920920
zonen = mo.group('zonen')
921921

922-
day = int(mo.group(day))
923-
year = int(mo.group(year))
924-
hour = int(mo.group(hour))
925-
min = int(mo.group(min))
926-
sec = int(mo.group(sec))
927-
zoneh = int(mo.group(zoneh))
928-
zonem = int(mo.group(zonem))
922+
day = int(mo.group('day'))
923+
year = int(mo.group('year'))
924+
hour = int(mo.group('hour'))
925+
min = int(mo.group('min'))
926+
sec = int(mo.group('sec'))
927+
zoneh = int(mo.group('zoneh'))
928+
zonem = int(mo.group('zonem'))
929929

930930
# INTERNALDATE timezone must be subtracted to get UT
931931

0 commit comments

Comments
 (0)