3900: Export to Gedcom

svn: r15296
This commit is contained in:
Doug Blank 2010-05-01 18:38:13 +00:00
parent 38d8332970
commit 6bfe45f079

View File

@ -186,15 +186,17 @@ def breakup(txt, limit):
#
#-------------------------------------------------------------------------
def event_has_subordinate_data(event, event_ref):
gotany = event.get_description().strip() or\
not event.get_date_object().is_empty() or\
event.get_place_handle() or\
event.get_attribute_list() or\
event_ref.get_attribute_list() or\
event.get_note_list() or\
event.get_source_references() or\
event.get_media_list()
return gotany
if event and event_ref:
return (event.get_description().strip() or
not event.get_date_object().is_empty() or
event.get_place_handle() or
event.get_attribute_list() or
event_ref.get_attribute_list() or
event.get_note_list() or
event.get_source_references() or
event.get_media_list())
else:
return False
#-------------------------------------------------------------------------