* src/DateHandler/_Date_fr.py (DateParserFR.init_strings): Typo.

svn: r7318
This commit is contained in:
Alex Roitman 2006-09-12 22:58:42 +00:00
parent 2f8da09247
commit 1cc972b9a2
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-09-12 Alex Roitman <shura@gramps-project.org>
* src/DateHandler/_Date_fr.py (DateParserFR.init_strings): Typo.
* src/const.py.in (app_gramps): Revert to using a string.
2006-09-11 Don Allingham <don@gramps-project.org>

View File

@ -136,7 +136,7 @@ class DateParserFR(DateParser):
# This self._numeric is different from the base
# by allowing space after the slash/dot
self._numeric = re.compile("((\d+)[/\. ])?\s*((\d+)[/\.])?\s*(\d+)\s*$")
self._span = re.compile(u"(de)\s+(?P<start>.+)\s+(à)\s+(?P<stop>.+)",re.IGNORECASE)
self._span = re.compile(u"(de)\s+(?P<start>.+)\s+(à)\s+(?P<stop>.+)",re.IGNORECASE)
self._range = re.compile(u"(entre|ent\.|ent)\s+(?P<start>.+)\s+(et)\s+(?P<stop>.+)",re.IGNORECASE)
self._text2 =re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?' % self._mon_str,
re.IGNORECASE)