diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-10 13:28:39 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-10 15:54:13 -0700 |
commit | e7f4fd404d03468db5a2a8f2d4c43b6fb7c36902 (patch) | |
tree | 111a15e32c71ba3495dd6eca28894775e512a127 /lib | |
parent | cfde03e694b05a2aec315e0821fa82dc1e4b12c7 (diff) | |
download | spack-e7f4fd404d03468db5a2a8f2d4c43b6fb7c36902.tar.gz spack-e7f4fd404d03468db5a2a8f2d4c43b6fb7c36902.tar.bz2 spack-e7f4fd404d03468db5a2a8f2d4c43b6fb7c36902.tar.xz spack-e7f4fd404d03468db5a2a8f2d4c43b6fb7c36902.zip |
Fix superclass constructor for SpackNamespace objects.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/repository.py | 2 |
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 |