summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-28 16:21:31 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-28 16:21:31 -0800
commita338e0efd5464a40d2e206ed00af99e5dcc53a79 (patch)
tree722bfe43b5eff9e7607f0ded9f8b5d496d619578
parent763d850a0e1766a0b915686504bc07f8f2a92058 (diff)
downloadspack-a338e0efd5464a40d2e206ed00af99e5dcc53a79.tar.gz
spack-a338e0efd5464a40d2e206ed00af99e5dcc53a79.tar.bz2
spack-a338e0efd5464a40d2e206ed00af99e5dcc53a79.tar.xz
spack-a338e0efd5464a40d2e206ed00af99e5dcc53a79.zip
Fix spack.db -> spack.repo in bin/spack
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index efa1ccc281..18fd1f0f34 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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: