svn: r5737
This commit is contained in:
Alex Roitman 2006-01-13 02:48:23 +00:00
parent 04a9d8eb3e
commit 9985ff96f7

View File

@ -643,6 +643,8 @@ class GrampsBSDDB(GrampsDbBase):
if len(new_references) > 0: if len(new_references) > 0:
for (ref_class_name,ref_handle) in new_references: for (ref_class_name,ref_handle) in new_references:
data = ((CLASS_TO_KEY_MAP[obj.__class__.__name__],handle),
(CLASS_TO_KEY_MAP[ref_class_name],ref_handle),)
self._add_reference((handle,ref_handle),data,transaction) self._add_reference((handle,ref_handle),data,transaction)
#self.reference_map.put( #self.reference_map.put(
# str((handle,ref_handle),), # str((handle,ref_handle),),