diff --git a/ChangeLog b/ChangeLog index f5a2d8ddd..7217950df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-02-22 Alex Roitman + * src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo. + * src/GrampsDb/_GrampsDbWriteXML.py (write_media_list): Typo. + 2007-02-21 Alex Roitman * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_13): Add upgrade path for 2.2.x data; diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 9f1c31996..9dd96ac5a 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -1001,7 +1001,7 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback): the_txn = None self._update_reference_map(obj,transaction,the_txn) if not self.UseTXN: - data_map.sync() + self.reference_map.sync() if the_txn: the_txn.commit() diff --git a/src/GrampsDb/_GrampsDbWriteXML.py b/src/GrampsDb/_GrampsDbWriteXML.py index 2a28e78cd..d82c2aa77 100644 --- a/src/GrampsDb/_GrampsDbWriteXML.py +++ b/src/GrampsDb/_GrampsDbWriteXML.py @@ -935,7 +935,7 @@ class GrampsDbXmlWriter(object): self.write_attribute_list(proplist,indent+1) for ref in refslist: self.dump_source_ref(ref,indent+1) - self.write_note_list(nreflist,index+1) + self.write_note_list(nreflist,indent+1) self.g.write('%s\n' % sp) def write_data_map(self,datamap,indent=3):