diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-08-11 09:08:00 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-08-11 09:08:00 +0200 |
commit | f5433477b9f7c98ca00947cf1b1fdc106cca1080 (patch) | |
tree | 84e321e6b3eccfaac4c59aa8dba3bf71bdfa8c12 /var | |
parent | b4b9ebe7d718d169dd5f2ab41d4cbc00fed88641 (diff) | |
download | spack-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.py | 20 |
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) |