Fix a globals context issue, fixes #1435
This commit is contained in:
1 parent
e81c241905
commit
b13c4c446f
4 files changed
+15
-2
No files matched your search
@@ -101,7 +101,7 @@ class ModuleMixin(SubModuleDictMixin):
|
||||
parent_context=self.as_context(),
|
||||
origin_scope=origin_scope
|
||||
),
|
||||
GlobalNameFilter(self, self.tree_node),
|
||||
GlobalNameFilter(self.as_context(), self.tree_node),
|
||||
)
|
||||
yield DictFilter(self.sub_modules_dict())
|
||||
yield DictFilter(self._module_attributes_dict())
|
||||
|
||||
Reference in new issue
Block a user