Skip to content

Commit 05d44b4

Browse files
committed
Change 'spack.config.get(repos, scope=None)' to 'spack.config.get(repos)' in spack-ext/lib/jcsda-emc/spack-stack/stack/stack_env.py
1 parent 1247e9b commit 05d44b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spack-ext/lib/jcsda-emc/spack-stack/stack/stack_env.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ def write(self):
271271
os.makedirs(env_pkgs_path, exist_ok=False)
272272
with open(os.path.join(env_repo_path, "repo.yaml"), "w") as f:
273273
f.write("repo:\n namespace: envrepo")
274-
# DH* ???
275-
repo_paths = spack.config.get("repos", scope=None) # scope=spack.config.default_list_scope())
274+
repo_paths = spack.config.get("repos")
276275
repo_paths = [p.replace("$spack/", spack.paths.spack_root + "/") for p in repo_paths]
277276
for pkg_name in self.modifypkg:
278277
pkg_found = False

0 commit comments

Comments
 (0)