summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/plumed/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/plumed/package.py b/var/spack/repos/builtin/packages/plumed/package.py
index 4a1dd1baa5..abb03e0770 100644
--- a/var/spack/repos/builtin/packages/plumed/package.py
+++ b/var/spack/repos/builtin/packages/plumed/package.py
@@ -58,7 +58,7 @@ class Plumed(Package):
# Dictionary mapping PLUMED versions to the patches it provides
# interactively
- patches = {
+ plumed_patches = {
'2.2.3': {
'amber-14': '1',
'gromacs-4.5.7': '2',
@@ -77,7 +77,7 @@ class Plumed(Package):
[join_path(self.spec.prefix.bin, 'plumed'), 'patch', '-p'],
stdin=subprocess.PIPE
)
- opts = Plumed.patches[str(self.version)]
+ opts = Plumed.plumed_patches[str(self.version)]
search = '{0.name}-{0.version}'.format(other)
choice = opts[search] + '\n'
plumed.stdin.write(choice)