From e308b7209eb5715e6fc9d757b0bcd7cc6a9806d8 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Tue, 18 Dec 2001 00:49:05 +0000 Subject: [PATCH] Fix problem reading old dates when language is non-english. svn: r630 --- src/Date.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Date.py b/src/Date.py index 477ef5949..c57ec007e 100644 --- a/src/Date.py +++ b/src/Date.py @@ -455,13 +455,13 @@ class SingleDate: self.month = _m2num[string.lower(text[0:3])] except KeyError: self.setMonthStrEng(text) - raise Date.Error,text def setMonthStrEng(self,text): try: self.month = SingleDate.em2num[string.lower(text[0:3])] except KeyError: self.month = UNDEF + raise Date.Error,text def getMonthStr(self): return _mname[self.month]