summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-08-13 00:21:02 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-08-13 00:21:02 -0700
commitc8f65c15306683a5d505d4bcafa603e75c09feca (patch)
tree59e71d43f2d9b64289c39bdcadf8d462dff6d23c /var
parenta2b5b61e7fda38f6526ce8c10c54db466a0d6164 (diff)
downloadspack-c8f65c15306683a5d505d4bcafa603e75c09feca.tar.gz
spack-c8f65c15306683a5d505d4bcafa603e75c09feca.tar.bz2
spack-c8f65c15306683a5d505d4bcafa603e75c09feca.tar.xz
spack-c8f65c15306683a5d505d4bcafa603e75c09feca.zip
Fix 2.6 incompatibility
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/vim/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/packages/vim/package.py b/var/spack/packages/vim/package.py
index 710d5dfffc..4099b3257f 100644
--- a/var/spack/packages/vim/package.py
+++ b/var/spack/packages/vim/package.py
@@ -46,14 +46,14 @@ class Vim(Package):
for fs in self.feature_sets:
if "+" + fs in spec:
if feature_set is not None:
- tty.error("Only one feature set allowed, both {} and {} specified".format(
- feature_set,
- fs))
+ tty.error("Only one feature set allowed, both %s and %s specified"
+ % (feature_set, fs))
feature_set = fs
if '+gui' in spec:
if feature_set is not None:
if feature_set is not 'huge':
- tty.error("+gui variant requires 'huge' feature set, {} was specified".format(feature_set))
+ tty.error("+gui variant requires 'huge' feature set, %s was specified"
+ % feature_set)
feature_set = 'huge'
if feature_set is None:
feature_set = 'normal'