Fix spack.db -> spack.repo in bin/spack
This commit is contained in:
parent
763d850a0e
commit
a338e0efd5
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +113,8 @@ def main():
|
||||||
|
|
||||||
spack.spack_working_dir = working_dir
|
spack.spack_working_dir = working_dir
|
||||||
if args.mock:
|
if args.mock:
|
||||||
from spack.packages import PackageFinder
|
from spack.repository import RepoPath
|
||||||
spack.db.swap(PackageFinder(spack.mock_packages_path))
|
spack.repo.swap(RepoPath(spack.mock_packages_path))
|
||||||
|
|
||||||
# If the user asked for it, don't check ssl certs.
|
# If the user asked for it, don't check ssl certs.
|
||||||
if args.insecure:
|
if args.insecure:
|
||||||
|
|
Loading…
Reference in a new issue