* src/docgen/HtmlDoc.py: fix typo

* src/docgen/OpenOfficeDoc.py: don't use temporary files
* src/plugins/PatchNames.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/ReorderIds.py: pychecker fixes
* src/plugins/Verify.py: pychecker fixes
* src/plugins/WebPage.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/WriteGeneWeb.py: pychecker fixes


svn: r3674
This commit is contained in:
Don Allingham
2004-10-26 03:20:38 +00:00
parent e185199d6a
commit 91dcd9d52a
11 changed files with 599 additions and 613 deletions

View File

@@ -137,12 +137,12 @@ class RelCalc:
self.window.present()
def on_apply_clicked(self,obj):
model,iter = self.clist.get_selected()
if not iter:
model,node = self.clist.get_selected()
if not node:
return
id = self.clist.get_object(iter)
other_person = self.db.get_person_from_handle(id)
handle = self.clist.get_object(node)
other_person = self.db.get_person_from_handle(handle)
(rel_string,common) = self.relationship.get_relationship(self.person,other_person)
length = len(common)