summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-08-11 09:08:00 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-08-11 09:08:00 +0200
commitf5433477b9f7c98ca00947cf1b1fdc106cca1080 (patch)
tree84e321e6b3eccfaac4c59aa8dba3bf71bdfa8c12 /var
parentb4b9ebe7d718d169dd5f2ab41d4cbc00fed88641 (diff)
downloadspack-f5433477b9f7c98ca00947cf1b1fdc106cca1080.tar.gz
spack-f5433477b9f7c98ca00947cf1b1fdc106cca1080.tar.bz2
spack-f5433477b9f7c98ca00947cf1b1fdc106cca1080.tar.xz
spack-f5433477b9f7c98ca00947cf1b1fdc106cca1080.zip
qa : flake8 issues
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index a7c4b2d85e..601e3278e5 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -149,7 +149,7 @@ class Hdf5(AutotoolsPackage):
def check_install(self):
"Build and run a small program to test the installed HDF5 library"
spec = self.spec
- print "Checking HDF5 installation..."
+ print("Checking HDF5 installation...")
checkdir = "spack-check"
with working_dir(checkdir, create=True):
source = r"""
@@ -186,15 +186,15 @@ HDF5 version {version} {version}
output = ""
success = output == expected
if not success:
- print "Produced output does not match expected output."
- print "Expected output:"
- print '-' * 80
- print expected
- print '-' * 80
- print "Produced output:"
- print '-' * 80
- print output
- print '-' * 80
+ print("Produced output does not match expected output.")
+ print("Expected output:")
+ print('-' * 80)
+ print(expected)
+ print('-' * 80)
+ print("Produced output:")
+ print('-' * 80)
+ print(output)
+ print('-' * 80)
raise RuntimeError("HDF5 install check failed")
shutil.rmtree(checkdir)