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-11-01 03:49:00 -0700
commit835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59 (patch)
treec6f73790cf8171d2802d5ac612ac9472e164d279 /lib
parent94de86aeb800bb2b7af0087a8e3fda12ec95dc79 (diff)
downloadspack-835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59.tar.gz
spack-835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59.tar.bz2
spack-835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59.tar.xz
spack-835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59.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