fixed bug in recursion detection (not really a fix, I don't understand why this happens only in python3)

This commit is contained in:
David Halter committed 2012-10-14 02:19:58 +02:00
1 parent ad2aaa124b
commit 3a6d9ba955
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -141,6 +141,7 @@ class ImportPath(object):
scope, rest = self._follow_file_system()
except ModuleNotFound:
debug.warning('Module not found: ' + str(self.import_stmt))
evaluate.follow_statement.pop_stmt()
return []
scopes = [scope]