5881: data_item ignored on citation object

svn: r19932
This commit is contained in:
Jérôme Rapinat 2012-06-28 14:11:20 +00:00
parent 936356ce6e
commit 095e869101

View File

@ -1012,7 +1012,10 @@ class GrampsParser(UpdateCallback):
self.ord.set_temple(attrs['val'])
def start_data_item(self, attrs):
if self.source:
self.source.set_data_item(attrs['key'], attrs['value'])
else:
self.citation.set_data_item(attrs['key'], attrs['value'])
def start_status(self, attrs):
try: