diff options
author | Elizabeth Fischer <rpf2116@columbia.edu> | 2016-06-22 14:03:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-22 14:03:32 -0400 |
commit | 10810482bc308e5a4f6d201c201a56b91dc9bd64 (patch) | |
tree | 707d67f515350bbcb3eeacd642ff5709269939f1 | |
parent | ffe9e77e36ca2c64ff8d2ebdc14c6b04d1184d15 (diff) | |
download | spack-10810482bc308e5a4f6d201c201a56b91dc9bd64.tar.gz spack-10810482bc308e5a4f6d201c201a56b91dc9bd64.tar.bz2 spack-10810482bc308e5a4f6d201c201a56b91dc9bd64.tar.xz spack-10810482bc308e5a4f6d201c201a56b91dc9bd64.zip |
Update database.py
PEP8
-rw-r--r-- | lib/spack/spack/database.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/database.py b/lib/spack/spack/database.py index 9b0e88b9ad..a4bbff3d5a 100644 --- a/lib/spack/spack/database.py +++ b/lib/spack/spack/database.py @@ -631,11 +631,13 @@ class WriteTransaction(_Transaction): class CorruptDatabaseError(SpackError): def __init__(self, path, msg=''): super(CorruptDatabaseError, self).__init__( - "Spack database is corrupt: %s. %s. Try running `spack reindex` to fix." % (path, msg)) + "Spack database is corrupt: %s. %s." + \ + "Try running `spack reindex` to fix." % (path, msg)) class InvalidDatabaseVersionError(SpackError): def __init__(self, expected, found): super(InvalidDatabaseVersionError, self).__init__( - "Expected database version %s but found version %s. Try running `spack reindex` to fix." % + "Expected database version %s but found version %s." + \ + "Try running `spack reindex` to fix." % (expected, found)) |