summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-08-10 16:12:23 -0700
committerGitHub <noreply@github.com>2016-08-10 16:12:23 -0700
commit8061deb883c84016f282f7e388c3c019af86b4ca (patch)
tree111a15e32c71ba3495dd6eca28894775e512a127 /lib
parentcfde03e694b05a2aec315e0821fa82dc1e4b12c7 (diff)
parente7f4fd404d03468db5a2a8f2d4c43b6fb7c36902 (diff)
downloadspack-8061deb883c84016f282f7e388c3c019af86b4ca.tar.gz
spack-8061deb883c84016f282f7e388c3c019af86b4ca.tar.bz2
spack-8061deb883c84016f282f7e388c3c019af86b4ca.tar.xz
spack-8061deb883c84016f282f7e388c3c019af86b4ca.zip
Merge pull request #1495 from LLNL/bugfix/module-init-deprecation-gh1494
Fix superclass constructor args.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/repository.py b/lib/spack/spack/repository.py
index eada10f7cb..d751a98b35 100644
--- a/lib/spack/spack/repository.py
+++ b/lib/spack/spack/repository.py
@@ -78,7 +78,7 @@ def _autospec(function):
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