2007-03-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: add support for new directory type * src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding * src/GrampsDb/_GrampsDBDir.py: new directory based type * src/GrampsDb/_GrampsDbFactories.py: add support for new directory type * src/Editors/_EditNote.py: only update on save * src/Selectors/_SelectPerson.py: use normal columns * src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type * src/GrampsDbUtils/__init__.py: add support for new directory type * src/GrampsDbUtils/_Backup.py: fast pickle based backup * src/ArgHandler.py: add support for new directory type svn: r8313
This commit is contained in:
@@ -2469,12 +2469,8 @@ class Transaction:
|
||||
is the object's database handle, and the data is the tuple returned
|
||||
by the object's serialize method.
|
||||
"""
|
||||
self.last = self.db.append(cPickle.dumps((obj_type,
|
||||
handle,
|
||||
old_data,
|
||||
new_data),
|
||||
1)
|
||||
)
|
||||
self.last = self.db.append(
|
||||
cPickle.dumps((obj_type, handle, old_data, new_data)))
|
||||
if self.first == None:
|
||||
self.first = self.last
|
||||
|
||||
|
||||
Reference in New Issue
Block a user