* src/GrampsDbBase.py (find_event_from_handle):

Add transaction argument


svn: r3463
This commit is contained in:
Alex Roitman 2004-08-21 18:58:19 +00:00
parent a75338f737
commit 1790aef639
2 changed files with 3 additions and 1 deletions

View File

@ -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 <dallingham@users.sourceforge.net>
* src/gramps_main.py: update family display after EditPerson

View File

@ -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.