projects
/
gamesguru
/
getmyancestors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6463e6e
)
[FIX] Fix multi-individual ancestor download.
author
Fred Wright
<fw@fwright.net>
Tue, 19 Jan 2021 22:03:34 +0000
(14:03 -0800)
committer
Linekio
<benoitfontaine.ba@gmail.com>
Fri, 29 Jan 2021 12:59:19 +0000
(13:59 +0100)
The 'todo' variable for the ancestor download needs to be a set,
not the original comma-separated string.
TESTED:
Downloads of multiple individuals now include ancestors when
appropriate.
getmyancestors.py
patch
|
blob
|
history
diff --git
a/getmyancestors.py
b/getmyancestors.py
index a121a3229e169ca1e28d89d954db84efce68afb6..86c29df81cbf0e303f8d10f6e56e0368630d5b6d 100755
(executable)
--- a/
getmyancestors.py
+++ b/
getmyancestors.py
@@
-1214,7
+1214,7
@@
def main():
tree.add_indis(todo)
# download ancestors
- todo = set(t
odo
)
+ todo = set(t
ree.indi.keys()
)
done = set()
for i in range(args.ascend):
if not todo: