diff --git a/src/gen/db/write.py b/src/gen/db/write.py index eb668bc28..54df4ba4d 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -2027,12 +2027,10 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): self.undo_history_callback() def undo(self, update_history=True): - self.undodb.undo(update_history) - return + return self.undodb.undo(update_history) def redo(self, update_history=True): - self.undodb.redo(update_history) - return + return self.undodb.redo(update_history) def gramps_upgrade(self, callback=None): UpdateCallback.__init__(self, callback)