summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-22 13:24:27 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-22 13:24:27 (GMT)
commitf5d3ea00b97910bd14fa32fea46c29fae5775edd (patch)
tree0607ddaa7171ed7f7185d6bc7fa36c3d97e6bcfe
parent793de09b21ce286bc3c6aa0419f258cceb5d029f (diff)
downloadcpython-f5d3ea00b97910bd14fa32fea46c29fae5775edd.zip
cpython-f5d3ea00b97910bd14fa32fea46c29fae5775edd.tar.gz
cpython-f5d3ea00b97910bd14fa32fea46c29fae5775edd.tar.bz2
Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert.
-rw-r--r--Lib/imaplib.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 51571f9..2a0eeb6 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