From 4a17bcf0aad50c12509e73c7abae33e234dc3bed Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 22 Apr 2008 23:18:35 +0000 Subject: [PATCH] 0002105: Failed to import from xml: typo svn: r10623 --- 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 2ea6cfa76..2800189f8 100644 --- a/src/GrampsDbUtils/_ReadXML.py +++ b/src/GrampsDbUtils/_ReadXML.py @@ -1737,7 +1737,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