Fix formatting typo (#5622)

This commit is contained in:
Jimmy Tang 2017-10-05 18:58:51 +01:00 committed by scheibelp
parent 6243a28da1
commit c6e7fb25a4

View File

@ -142,7 +142,7 @@ def _create_new_cache(self):
# Warn about invalid names that look like packages.
if not valid_module_name(pkg_name):
msg = 'Skipping package at {0}. '
msg += '"{1]" is not a valid Spack module name.'
msg += '"{1}" is not a valid Spack module name.'
tty.warn(msg.format(pkg_dir, pkg_name))
continue