Commit f18a24d3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

When loading a Component and a specific version has already been loaded, add...

When loading a Component and a specific version has already been loaded, add it to the top-level package.
parent 9e783585
...@@ -232,7 +232,7 @@ class ComponentDynamicPackage(ModuleType): ...@@ -232,7 +232,7 @@ class ComponentDynamicPackage(ModuleType):
except AttributeError: except AttributeError:
pass pass
else: else:
setattr(self._getVersionPackage(version), name, module) setattr(self, name, module)
return module return module
module_fullname_alias = self._namespace + '.' + name module_fullname_alias = self._namespace + '.' + name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment