small fixes to the analysis.Error class.
This commit is contained in:
1 parent
7c965e544f
commit
6098ba5e84
2 files changed
+6
-1
No files matched your search
@@ -588,6 +588,8 @@ class Script(object):
|
||||
def analysis(self):
|
||||
statements = set(chain(*self._parser.module().used_names.values()))
|
||||
for stmt in statements:
|
||||
if stmt.start_pos[0] != 32:
|
||||
continue
|
||||
if isinstance(stmt, pr.Import):
|
||||
imports.strip_imports(self._evaluator, [stmt])
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user