-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: update section using same script (#290)
- Loading branch information
Showing
25 changed files
with
346 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/lib/spack/spack/config.py b/lib/spack/spack/config.py | ||
index cd1be71c9d..a8259104f5 100644 | ||
--- a/lib/spack/spack/config.py | ||
+++ b/lib/spack/spack/config.py | ||
@@ -1275,12 +1275,12 @@ def process_config_path(path): | ||
quote = "['\"]" | ||
not_quote = "[^'\"]" | ||
|
||
- if re.match(f"^{quote}", path): | ||
- m = re.match(rf"^({quote}{not_quote}+{quote})$", path) | ||
- if not m: | ||
- raise ValueError("Quotes indicate value, but there are additional path entries") | ||
- result.append(m.group(1)) | ||
- break | ||
+ # if re.match(f"^{quote}", path): | ||
+ # m = re.match(rf"^({quote}{not_quote}+{quote})$", path) | ||
+ # if not m: | ||
+ # raise ValueError("Quotes indicate value, but there are additional path entries") | ||
+ # result.append(m.group(1)) | ||
+ # break | ||
|
||
return result | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.