From c99d367a11b14fc47da7bb607f532156923ad075 Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Tue, 29 Oct 2019 13:51:48 -0700 Subject: [PATCH] syaml_int type should use int.__repr__ rather than str.__repr__ (#13487) --- lib/spack/spack/util/spack_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/util/spack_yaml.py b/lib/spack/spack/util/spack_yaml.py index 264d5414de7..1d92d59ad28 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