2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (get_persons_sources): Remove extra calls to get_handle() to prevent traceback. svn: r3440
This commit is contained in:
parent
d9a18f1aa8
commit
3fa7d9d620
@ -1,4 +1,6 @@
|
|||||||
2004-08-19 Tim Waugh <twaugh@redhat.com>
|
2004-08-19 Tim Waugh <twaugh@redhat.com>
|
||||||
|
* src/WriteGedcom.py (get_persons_sources): Remove extra calls to
|
||||||
|
get_handle() to prevent traceback.
|
||||||
* src/gramps_main.py (import_tool_callback): Set home person.
|
* src/gramps_main.py (import_tool_callback): Set home person.
|
||||||
|
|
||||||
2004-08-19 Don Allingham <dallingham@users.sourceforge.net>
|
2004-08-19 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
|
@ -155,16 +155,16 @@ def add_persons_sources(db,person,slist,private):
|
|||||||
continue
|
continue
|
||||||
for source_ref in event.get_source_references():
|
for source_ref in event.get_source_references():
|
||||||
sbase = source_ref.get_base_handle()
|
sbase = source_ref.get_base_handle()
|
||||||
if sbase != None and not slist.has_key(sbase.get_handle()):
|
if sbase != None and not slist.has_key(sbase):
|
||||||
slist[sbase.get_handle()] = 1
|
slist[sbase] = 1
|
||||||
|
|
||||||
for event in person.get_attribute_list():
|
for event in person.get_attribute_list():
|
||||||
if private and event.get_privacy():
|
if private and event.get_privacy():
|
||||||
continue
|
continue
|
||||||
for source_ref in event.get_source_references():
|
for source_ref in event.get_source_references():
|
||||||
sbase = source_ref.get_base_handle()
|
sbase = source_ref.get_base_handle()
|
||||||
if sbase != None and not slist.has_key(sbase.get_handle()):
|
if sbase != None and not slist.has_key(sbase):
|
||||||
slist[sbase.get_handle()] = 1
|
slist[sbase] = 1
|
||||||
|
|
||||||
for name in person.get_alternate_names() + [person.get_primary_name()]:
|
for name in person.get_alternate_names() + [person.get_primary_name()]:
|
||||||
if private and name.get_privacy():
|
if private and name.get_privacy():
|
||||||
|
Loading…
Reference in New Issue
Block a user