2007-02-22 Alex Roitman <shura@gramps-project.org>

* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo.
	* src/GrampsDb/_GrampsDbWriteXML.py (write_media_list): Typo.



svn: r8210
This commit is contained in:
Alex Roitman 2007-02-22 20:42:51 +00:00
parent 9bb2f90e0d
commit 29776e25b8
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-02-22 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo.
* src/GrampsDb/_GrampsDbWriteXML.py (write_media_list): Typo.
2007-02-21 Alex Roitman <shura@gramps-project.org> 2007-02-21 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_13): Add upgrade * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_13): Add upgrade
path for 2.2.x data; path for 2.2.x data;

View File

@ -1001,7 +1001,7 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
the_txn = None the_txn = None
self._update_reference_map(obj,transaction,the_txn) self._update_reference_map(obj,transaction,the_txn)
if not self.UseTXN: if not self.UseTXN:
data_map.sync() self.reference_map.sync()
if the_txn: if the_txn:
the_txn.commit() the_txn.commit()

View File

@ -935,7 +935,7 @@ class GrampsDbXmlWriter(object):
self.write_attribute_list(proplist,indent+1) self.write_attribute_list(proplist,indent+1)
for ref in refslist: for ref in refslist:
self.dump_source_ref(ref,indent+1) 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</objref>\n' % sp) self.g.write('%s</objref>\n' % sp)
def write_data_map(self,datamap,indent=3): def write_data_map(self,datamap,indent=3):