initial fetch on crayport

This commit is contained in:
Gregory Becker 2015-10-21 09:27:57 -07:00
parent d00314c621
commit 51b69ef00b
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ def check(exe):
self.fc = check(fc) self.fc = check(fc)
self.spec = cspec self.spec = cspec
self.module = module self.modules = modules.split()

View file

@ -252,7 +252,7 @@ def variant(pkg, name, default=False, description=""):
"""Define a variant for the package. Packager can specify a default """Define a variant for the package. Packager can specify a default
value (on or off) as well as a text description.""" value (on or off) as well as a text description."""
default = bool(default) default = default
description = str(description).strip() description = str(description).strip()
if not re.match(spack.spec.identifier_re, name): if not re.match(spack.spec.identifier_re, name):