Fix spack.db -> spack.repo in bin/spack

This commit is contained in:
Todd Gamblin 2015-11-28 16:21:31 -08:00
parent 763d850a0e
commit a338e0efd5

View file

@ -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: