summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2019-10-29 13:51:48 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-10-29 13:51:48 -0700
commitc99d367a11b14fc47da7bb607f532156923ad075 (patch)
tree9d029afecd1610af910e08e18044392aad969acd /lib
parente29a6c532cee38662901404116bd2398ff31b885 (diff)
downloadspack-c99d367a11b14fc47da7bb607f532156923ad075.tar.gz
spack-c99d367a11b14fc47da7bb607f532156923ad075.tar.bz2
spack-c99d367a11b14fc47da7bb607f532156923ad075.tar.xz
spack-c99d367a11b14fc47da7bb607f532156923ad075.zip
syaml_int type should use int.__repr__ rather than str.__repr__ (#13487)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/spack_yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/spack_yaml.py b/lib/spack/spack/util/spack_yaml.py
index 264d5414de..1d92d59ad2 100644
--- a/lib/spack/spack/util/spack_yaml.py
+++ b/lib/spack/spack/util/spack_yaml.py
@@ -47,7 +47,7 @@ class syaml_str(str):
class syaml_int(int):
- __repr__ = str.__repr__
+ __repr__ = int.__repr__
#: mapping from syaml type -> primitive type