strip_imports -> follow_imports
This commit is contained in:
1 parent
e5fe726862
commit
70d85d1b3a
4 files changed
+7
-7
No files matched your search
+1
-1
@@ -316,7 +316,7 @@ class BaseDefinition(object):
|
||||
if stripped.isinstance(pr.Statement):
|
||||
return self._evaluator.eval_statement(stripped)
|
||||
elif stripped.isinstance(pr.Import):
|
||||
return imports.strip_imports(self._evaluator, [stripped])
|
||||
return imports.follow_imports(self._evaluator, [stripped])
|
||||
else:
|
||||
return [stripped]
|
||||
|
||||
|
||||
Reference in new issue
Block a user