]> Nutra Git (v2) - gamesguru/getmyancestors.git/commitdiff
reverted two last commits
authorBenoît Fontaine <benoitfontaine.ba@gmail.com>
Wed, 1 Nov 2017 07:37:33 +0000 (08:37 +0100)
committerBenoît Fontaine <benoitfontaine.ba@gmail.com>
Wed, 1 Nov 2017 07:37:33 +0000 (08:37 +0100)
getmyancestors.py

index 12b20ff5b93fdad60a03d315fa7a31ba1cbf6caa..3256b54613ab98372f12084d0e69f0cd0e45e50a 100755 (executable)
@@ -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