add missing closing paren from commit 16636

svn: r16637
This commit is contained in:
Gerald Britton 2011-02-16 20:10:55 +00:00
parent a19e65073c
commit 4a67b6fdaa

View File

@ -585,7 +585,7 @@ class DateParser(object):
match = self._calny_iso.match(text)
if match:
cal = self.calendar_to_int[match.group(2).lower()]
newyear = tuple(map(int, match.group(3).split("-"))
newyear = tuple(map(int, match.group(3).split("-")))
text = match.group(1) + match.group(4)
return (text, cal, newyear)
@ -602,7 +602,7 @@ class DateParser(object):
else:
match = self._ny_iso.match(text)
if match:
newyear = tuple(map(int, match.group(2).split("-"))
newyear = tuple(map(int, match.group(2).split("-")))
text = match.group(1) + match.group(3)
return (text, newyear)