From e0a74184573a4a780475ac2b4332e6e8f20f300a Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sat, 6 Sep 2008 20:53:19 +0000 Subject: [PATCH] Doug Blanks fix from trunk for bug #2105 svn: r11033 --- src/GrampsDbUtils/_ReadXML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GrampsDbUtils/_ReadXML.py b/src/GrampsDbUtils/_ReadXML.py index 832c83cff..78431543d 100644 --- a/src/GrampsDbUtils/_ReadXML.py +++ b/src/GrampsDbUtils/_ReadXML.py @@ -1710,7 +1710,7 @@ class GrampsParser(UpdateCallback): rng_day = 0 if attrs.has_key("cformat"): - cal = gen.lib.Date.calendar.index(attrs['calendar']) + cal = gen.lib.Date.calendar_names.index(attrs['calendar']) else: cal = gen.lib.Date.CAL_GREGORIAN