fixed obitaxonomy bug

This commit is contained in:
Céline Mercier
2013-10-24 13:29:20 +00:00
parent fc5d914093
commit 2e18284dc0

View File

@ -290,7 +290,7 @@ if __name__ == '__main__':
keyError = True
for p in possible_previous :
if options.taxonomy.isAncestor(restricting_ancestor, p[0]) :
taxid = p[0]
previous = p[0]
keyError = False
if keyError :
raise KeyError()