Fix error message typo in 'spack create' cmd (#7042)
- Previously would print the spec's namespace twice, rather than printing the spec's namespace, followed by the repo's namespace.
This commit is contained in:
parent
3223186729
commit
eb0f5c6efe
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ def get_repository(args, name):
|
|||
repo = Repo(repo_path)
|
||||
if spec.namespace and spec.namespace != repo.namespace:
|
||||
tty.die("Can't create package with namespace {0} in repo with "
|
||||
"namespace {0}".format(spec.namespace, repo.namespace))
|
||||
"namespace {1}".format(spec.namespace, repo.namespace))
|
||||
else:
|
||||
if spec.namespace:
|
||||
repo = spack.repo.get_repo(spec.namespace, None)
|
||||
|
|
Loading…
Reference in a new issue