diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 28ded0446..4d449b360 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -25,6 +25,8 @@ src/plugins/WebPage.py, src/plugins/WriteCD.py, src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py: Use get_event_from_handle (not find_ ). + * src/GrampsDbBase.py (find_event_from_handle): + Add transaction argument 2004-08-20 Don Allingham * src/gramps_main.py: update family display after EditPerson diff --git a/gramps2/src/GrampsDbBase.py b/gramps2/src/GrampsDbBase.py index 537f875ea..07759994e 100644 --- a/gramps2/src/GrampsDbBase.py +++ b/gramps2/src/GrampsDbBase.py @@ -356,7 +356,7 @@ class GrampsDbBase: self.smap_index = self.smap_index + 1 return source - def find_event_from_handle(self,val): + def find_event_from_handle(self,val,transaction): """ Finds a Event in the database from the passed GRAMPS ID. If no such Event exists, a new Event is added to the database.