From e814fad4969bdc11db7b46b7803ff503901bb1fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Fontaine?= Date: Wed, 1 Nov 2017 08:37:33 +0100 Subject: [PATCH] reverted two last commits --- getmyancestors.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/getmyancestors.py b/getmyancestors.py index 12b20ff..3256b54 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -538,8 +538,7 @@ class Indi: temp.add(contributors['name']) if temp: text = 'Contributeurs :\n' + '\n'.join(sorted(temp)) - notes = self.tree.notes - for n in notes: + for n in self.tree.notes: if n.text == text: self.notes.add(n) return @@ -679,8 +678,7 @@ class Fam: temp.add(contributors['name']) if temp: text = 'Contributeurs :\n' + '\n'.join(sorted(temp)) - notes = self.tree.notes - for n in notes: + for n in self.tree.notes: if n.text == text: self.notes.add(n) return -- 2.52.0