parent
d181d6bd33
commit
e6ab15fcd9
@ -2,6 +2,7 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2007 Donald N. Allingham
|
# Copyright (C) 2000-2007 Donald N. Allingham
|
||||||
|
# Copyright (C) 2009 Gary Burton
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -2488,7 +2489,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
if line.data and line.data[0] == '@':
|
if line.data and line.data[0] == '@':
|
||||||
self.__not_recognized(line, state.level)
|
self.__not_recognized(line, state.level)
|
||||||
else:
|
else:
|
||||||
(form, filename, title, note) = self.__obje(state.level)
|
(form, filename, title, note) = self.__obje(state.level + 1)
|
||||||
self.build_media_object(state.family, form, filename, title, note)
|
self.build_media_object(state.family, form, filename, title, note)
|
||||||
|
|
||||||
def __family_comm(self, line, state):
|
def __family_comm(self, line, state):
|
||||||
@ -2686,7 +2687,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
if line.data and line.data[0] == '@':
|
if line.data and line.data[0] == '@':
|
||||||
self.__not_recognized(line, state.level)
|
self.__not_recognized(line, state.level)
|
||||||
else:
|
else:
|
||||||
(form, filename, title, note) = self.__obje(state.level)
|
(form, filename, title, note) = self.__obje(state.level + 1)
|
||||||
self.build_media_object(state.event, form, filename, title, note)
|
self.build_media_object(state.event, form, filename, title, note)
|
||||||
|
|
||||||
def __event_type(self, line, state):
|
def __event_type(self, line, state):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user