2008-01-21 Benny Malengier <benny.malengier@gramps-project.org>

* src/plugins/Check.py: bug (buglist) wrong method call



svn: r9902
This commit is contained in:
Benny Malengier 2008-01-21 08:38:49 +00:00
parent 7e56dfb1c7
commit 8137680dcc
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2008-01-21 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/Check.py: bug (buglist) wrong method call
2008-01-20 Brian Matherly <brian@gramps-project.org>
* src/docgen/SvgDrawDoc.py:
0001321: Ancester Graph SVG Export dosn't show text

View File

@ -1002,7 +1002,7 @@ class CheckIntegrity:
item[1] not in known_handles ]
if bad_handles:
obj.remove_source_references(bad_handles)
self.db.commit_object(obj,self.trans)
self.db.commit_media_object(obj,self.trans)
new_bad_handles = [handle for handle in bad_handles if handle
not in self.invalid_source_references]
self.invalid_source_references += new_bad_handles
@ -1205,7 +1205,7 @@ class CheckIntegrity:
for bad_handle in bad_handles:
obj.remove_note(bad_handle)
if bad_handles:
self.db.commit_object(obj,self.trans)
self.db.commit_media_object(obj,self.trans)
new_bad_handles = [handle for handle in bad_handles if handle
not in self.invalid_note_references]
self.invalid_note_references += new_bad_handles