little fixes for the dynamic module

This commit is contained in:
David Halter committed 2013-02-08 12:53:14 +01:00
1 parent 94126edda8
commit 39f43c52fe
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -661,7 +661,7 @@ def follow_call_path(path, scope, position):
debug.warning('unknown type:', current.type, current)
scopes = []
# Make instances of those number/string objects.
scopes = [er.Instance(s, [current.name]) for s in scopes]
scopes = [er.Instance(s, (current.name,)) for s in scopes]
result = imports.strip_imports(scopes)
return follow_paths(path, result, scope, position=position)