* src/RelLib.py: add_source takes an transaction

* src/ReadGedcom.py: drop add_surname


svn: r3080
This commit is contained in:
Don Allingham
2004-04-07 18:00:49 +00:00
parent f2fa2b6be6
commit 1c0ee0cfc0
3 changed files with 5 additions and 6 deletions

View File

@ -2923,7 +2923,7 @@ class GrampsDB:
# self.genderStats.count_person (person, self)
return gid
def add_source(self,source):
def add_source(self,source,trans=None):
"""adds a Source instance to the database, assigning it a gramps'
ID number"""