1
0
forked from VimPlug/jedi

Fix an issue with raise statements in the linter.

This commit is contained in:
Dave Halter
2015-09-13 23:28:14 +02:00
parent eecae7dd38
commit e7528198d3
3 changed files with 11 additions and 8 deletions

View File

@@ -536,7 +536,7 @@ class Script(object):
#statements = set(chain(*self._parser.module().used_names.values()))
nodes, imp_names, decorated_funcs = \
analysis.get_module_statements(self._parser.module())
analysis.get_executable_nodes(self._parser.module())
# Sort the statements so that the results are reproducible.
for n in imp_names:
imports.ImportWrapper(self._evaluator, n).follow()