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