Skip to content
Snippets Groups Projects
Commit 8061deb8 authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

Merge pull request #1495 from LLNL/bugfix/module-init-deprecation-gh1494

Fix superclass constructor args.
parents cfde03e6 e7f4fd40
Branches
Tags
No related merge requests found
......@@ -78,7 +78,7 @@ def converter(self, spec_like, *args, **kwargs):
class SpackNamespace(ModuleType):
""" Allow lazy loading of modules."""
def __init__(self, namespace):
super(ModuleType, self).__init__(self, namespace)
super(SpackNamespace, self).__init__(namespace)
self.__file__ = "(spack namespace)"
self.__path__ = []
self.__name__ = namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment