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 |     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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Todd Gamblin
					Todd Gamblin