temporary conversion of the imports module to separate import processing from actually importing things

This commit is contained in:
Dave Halter
2014-03-19 16:40:38 +01:00
parent 9f12352ec1
commit 58026c6542
5 changed files with 155 additions and 127 deletions

View File

@@ -401,7 +401,7 @@ class Script(object):
search_name = unicode(user_scope.name)
elif isinstance(user_stmt, pr.Import):
s, name_part = helpers.get_on_import_stmt(self._evaluator,
self._user_context, user_stmt)
self._user_context, user_stmt)
try:
definitions = [s.follow(is_goto=True)[0]]
except IndexError: