diff options
author | Matt Belhorn <belhornmp@ornl.gov> | 2016-07-26 17:11:01 -0400 |
---|---|---|
committer | Matt Belhorn <belhornmp@ornl.gov> | 2016-07-27 11:25:23 -0400 |
commit | b1e6c58ff2de8ff5d729dd9a10e28bec41aebeeb (patch) | |
tree | 6a734bdb15910e410750857a078a187313de33df /lib | |
parent | 4e6fdd12e26273b15c081400b60791e9d1bd6472 (diff) | |
download | spack-b1e6c58ff2de8ff5d729dd9a10e28bec41aebeeb.tar.gz spack-b1e6c58ff2de8ff5d729dd9a10e28bec41aebeeb.tar.bz2 spack-b1e6c58ff2de8ff5d729dd9a10e28bec41aebeeb.tar.xz spack-b1e6c58ff2de8ff5d729dd9a10e28bec41aebeeb.zip |
Adds __str__ method to CNL operating system class.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/operating_systems/cnl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/operating_systems/cnl.py b/lib/spack/spack/operating_systems/cnl.py index c160a60be8..5ee8599e1d 100644 --- a/lib/spack/spack/operating_systems/cnl.py +++ b/lib/spack/spack/operating_systems/cnl.py @@ -19,6 +19,8 @@ class Cnl(OperatingSystem): version = '10' super(Cnl, self).__init__(name, version) + def __str__(self): + return self.name def find_compilers(self, *paths): types = spack.compilers.all_compiler_types() |