From 835df4b2e4fe2d3a04dd756ddaa1b2f15f3ebb59 Mon Sep 17 00:00:00 2001
From: Peter Scheibel <scheibel1@llnl.gov>
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 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
-- 
GitLab