Fix spack.db -> spack.repo in bin/spack
This commit is contained in:
		| @@ -113,8 +113,8 @@ def main(): | ||||
|  | ||||
|     spack.spack_working_dir = working_dir | ||||
|     if args.mock: | ||||
|         from spack.packages import PackageFinder | ||||
|         spack.db.swap(PackageFinder(spack.mock_packages_path)) | ||||
|         from spack.repository import RepoPath | ||||
|         spack.repo.swap(RepoPath(spack.mock_packages_path)) | ||||
|  | ||||
|     # If the user asked for it, don't check ssl certs. | ||||
|     if args.insecure: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin