Merge pull request #1495 from LLNL/bugfix/module-init-deprecation-gh1494
Fix superclass constructor args.
This commit is contained in:
commit
8061deb883
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def converter(self, spec_like, *args, **kwargs):
|
||||||
class SpackNamespace(ModuleType):
|
class SpackNamespace(ModuleType):
|
||||||
""" Allow lazy loading of modules."""
|
""" Allow lazy loading of modules."""
|
||||||
def __init__(self, namespace):
|
def __init__(self, namespace):
|
||||||
super(ModuleType, self).__init__(self, namespace)
|
super(SpackNamespace, self).__init__(namespace)
|
||||||
self.__file__ = "(spack namespace)"
|
self.__file__ = "(spack namespace)"
|
||||||
self.__path__ = []
|
self.__path__ = []
|
||||||
self.__name__ = namespace
|
self.__name__ = namespace
|
||||||
|
|
Loading…
Reference in a new issue