summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric <muffgaga@gmx.de>2016-09-20 11:27:35 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-09-20 02:27:35 -0700
commitc9fe2cd469f3f4e5e6cdb9905401da42ff214223 (patch)
treeaa3499557618b3bea0e5d2ce2bd8196f14e69197 /lib
parentd71f8dcab5b6e760df0b145e1cc08d89cd596d5f (diff)
downloadspack-c9fe2cd469f3f4e5e6cdb9905401da42ff214223.tar.gz
spack-c9fe2cd469f3f4e5e6cdb9905401da42ff214223.tar.bz2
spack-c9fe2cd469f3f4e5e6cdb9905401da42ff214223.tar.xz
spack-c9fe2cd469f3f4e5e6cdb9905401da42ff214223.zip
Fix format string (in class RemoveFailedError) (#1803)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/directory_layout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/directory_layout.py b/lib/spack/spack/directory_layout.py
index 73286483ef..8ef7d3c480 100644
--- a/lib/spack/spack/directory_layout.py
+++ b/lib/spack/spack/directory_layout.py
@@ -423,7 +423,7 @@ class RemoveFailedError(DirectoryLayoutError):
def __init__(self, installed_spec, prefix, error):
super(RemoveFailedError, self).__init__(
'Could not remove prefix %s for %s : %s'
- % prefix, installed_spec.short_spec, error)
+ % (prefix, installed_spec.short_spec, error))
self.cause = error