Bugfix in error message.

This commit is contained in:
Todd Gamblin 2014-05-16 11:31:40 -07:00
parent e6e1b332be
commit e0c7a63a5a

View file

@ -539,7 +539,7 @@ def do_fetch(self):
if spack.do_checksum and not self.version in self.versions:
raise ChecksumError(
"Cannot fetch %s safely; there is no checksum on file for version %s."
% self.version,
% (self.name, self.version),
"Add a checksum to the package file, or use --no-checksum to "
"skip this check.")