From 80713e234c1b1b6c10dcf6450b1832e1a5a8010c Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 24 Aug 2021 14:31:30 -0700 Subject: [PATCH] bootstrap: fix printing for python 2 (#25592) --- lib/spack/spack/bootstrap.py | 2 ++ lib/spack/spack/cmd/bootstrap.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/spack/spack/bootstrap.py b/lib/spack/spack/bootstrap.py index 094d59395eb..66cb2b49cf3 100644 --- a/lib/spack/spack/bootstrap.py +++ b/lib/spack/spack/bootstrap.py @@ -2,6 +2,8 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from __future__ import print_function + import contextlib import json import os diff --git a/lib/spack/spack/cmd/bootstrap.py b/lib/spack/spack/cmd/bootstrap.py index b3e1c27698a..ae3e1b76398 100644 --- a/lib/spack/spack/cmd/bootstrap.py +++ b/lib/spack/spack/cmd/bootstrap.py @@ -2,6 +2,8 @@ # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from __future__ import print_function + import os.path import shutil