Used names with __ in class level constructs to avoid rebinding (#7563)
fixes #3129
This commit is contained in:
parent
06e1fdb237
commit
0d7652c508
@ -70,9 +70,9 @@ class Nwchem(Package):
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
# Iterate over patches
|
# Iterate over patches
|
||||||
for condition, urls in urls_for_patches.items():
|
for __condition, __urls in urls_for_patches.items():
|
||||||
for url, sha256, archive_sha256 in urls:
|
for __url, __sha256, __archive_sha256 in __urls:
|
||||||
patch(url, when=condition, level=0, sha256=sha256, archive_sha256=archive_sha256)
|
patch(__url, when=__condition, level=0, sha256=__sha256, archive_sha256=__archive_sha256)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
scalapack = spec['scalapack'].libs
|
scalapack = spec['scalapack'].libs
|
||||||
|
Loading…
Reference in New Issue
Block a user