Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/nltk/nltk into corenlp-s…
Browse files Browse the repository at this point in the history
…erver
  • Loading branch information
dimazest committed May 12, 2017
2 parents 27cf680 + 60258a9 commit c6ad149
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nltk/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,10 @@ def _update_index(self, url=None):
for child in queue:
if isinstance(child, Collection):
queue.extend(child.children)
else:
elif isinstance(child, Package):
packages[child.id] = child
else:
pass
collection.packages = packages.values()

# Flush the status cache
Expand Down

0 comments on commit c6ad149

Please sign in to comment.