svn: r6706
This commit is contained in:
Alex Roitman 2006-05-18 05:01:16 +00:00
parent db5050f860
commit 040ab9f6fb

View File

@ -103,20 +103,20 @@ def importData(database, filename, callback=None,cl=0,use_trans=True):
other_database.get_event_from_handle, other_database.get_event_from_handle,
'other_table': other_database.event_map, 'other_table': other_database.event_map,
}, },
'Source' : {'table' : database.family_map, 'Source' : {'table' : database.source_map,
'id_table' : database.sid_trans, 'id_table' : database.sid_trans,
'add_obj' : database.add_family,
'find_next_gramps_id': database.find_next_family_gramps_id,
'other_get_from_handle':
other_database.get_family_from_handle,
'other_table': other_database.source_map,
},
'Place' : {'table' : database.source_map,
'id_table' : database.pid_trans,
'add_obj' : database.add_source, 'add_obj' : database.add_source,
'find_next_gramps_id': database.find_next_source_gramps_id, 'find_next_gramps_id': database.find_next_source_gramps_id,
'other_get_from_handle': 'other_get_from_handle':
other_database.get_source_from_handle, other_database.get_source_from_handle,
'other_table': other_database.source_map,
},
'Place' : {'table' : database.place_map,
'id_table' : database.pid_trans,
'add_obj' : database.add_place,
'find_next_gramps_id' :database.find_next_place_gramps_id,
'other_get_from_handle':
other_database.get_place_from_handle,
'other_table': other_database.place_map, 'other_table': other_database.place_map,
}, },
'Media' : {'table' : database.media_map, 'Media' : {'table' : database.media_map,