Source code for Gramps Genealogical program
2c1d8b226c
GrampsDbBase; (_get_obj_from_gramps_id,_find_from_handle): Only read data if the key exists. * src/GrampsDb/_GrampsDbBase.py (get_gramps_ids,has_gramps_id): Add methods; (check_*_from_handle): Add methods that make sure that object exists in the db, create as necessary, but do not read if it exists; (_check_from_handle): Add lower-level method; (_find_from_handle): Only read data if the key exists. * src/GrampsDb/_GrampsInMemDB.py (get_gramps_ids): Move to GrampsDbBase. * src/GrampsDb/_ReadXML.py: Multiple improvements. svn: r5858 |
||
---|---|---|
CVSROOT | ||
gramps | ||
gramps2 | ||
manual |