From 4a67b6fdaa24e57eb3c35a0ddfd63ebde088515d Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Wed, 16 Feb 2011 20:10:55 +0000 Subject: [PATCH] add missing closing paren from commit 16636 svn: r16637 --- src/DateHandler/_DateParser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DateHandler/_DateParser.py b/src/DateHandler/_DateParser.py index e51c4734e..9d96586ac 100644 --- a/src/DateHandler/_DateParser.py +++ b/src/DateHandler/_DateParser.py @@ -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)