summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-09-17 00:21:33 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-09-17 00:21:33 -0700
commit6dff42be0973c5949d836eab51cfdffb0eda0a69 (patch)
treefbb714220c5f37562d21532abace42e445ba63a3 /bin
parent360b307f683e146151a65e1d788ce1d154c47ace (diff)
downloadspack-6dff42be0973c5949d836eab51cfdffb0eda0a69.tar.gz
spack-6dff42be0973c5949d836eab51cfdffb0eda0a69.tar.bz2
spack-6dff42be0973c5949d836eab51cfdffb0eda0a69.tar.xz
spack-6dff42be0973c5949d836eab51cfdffb0eda0a69.zip
WIP for Matt's branch
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index 5c042edd2d..baf08d1481 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 PackageDB
- spack.db = PackageDB(spack.mock_packages_path)
+ from spack.packages import PackageFinder
+ spack.db.swap(PackageFinder(spack.mock_packages_path))
# If the user asked for it, don't check ssl certs.
if args.insecure: