From 27ea875ab9bffe96f7db5065b133e58ee7e337db Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 8 Jan 2003 05:31:17 +0000 Subject: [PATCH] Calendar entry code fix svn: r1244 --- gramps2/src/Calendar.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/Calendar.py b/gramps2/src/Calendar.py index 5b6cdb655..035727961 100644 --- a/gramps2/src/Calendar.py +++ b/gramps2/src/Calendar.py @@ -457,7 +457,7 @@ class Calendar: if match != None: matches = match.groups() mode = self.set_mode_value(matches[0]) - if Calendar.entryCode == 2: + if Calendar.ENTRYCODE == 2: month = self.set_value(matches[2]) year = self.set_value(matches[1]) else: @@ -469,11 +469,11 @@ class Calendar: if match != None: matches = match.groups() mode = self.set_mode_value(matches[0]) - if Calendar.entryCode == 0: + if Calendar.ENTRYCODE == 0: month = self.set_value(matches[1]) day = self.set_value(matches[2]) year = self.set_value(matches[3]) - elif Calendar.entryCode == 1: + elif Calendar.ENTRYCODE == 1: month = self.set_value(matches[2]) day = self.set_value(matches[1]) year = self.set_value(matches[3])