diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index 63918ceaf..880518f71 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -2318,12 +2318,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)