summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-08-05 07:49:47 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-08-09 09:24:36 +0200
commit5362864cc9003d8f630097f12d4b560d970fd306 (patch)
tree3f6392971fffa99d3b30c3fcc34a5e3ae931da70
parent15d9fb187916d94d4a11ed4654cbbb3c978001c4 (diff)
downloadspack-5362864cc9003d8f630097f12d4b560d970fd306.tar.gz
spack-5362864cc9003d8f630097f12d4b560d970fd306.tar.bz2
spack-5362864cc9003d8f630097f12d4b560d970fd306.tar.xz
spack-5362864cc9003d8f630097f12d4b560d970fd306.zip
plumed : fixed name clash on attribute
-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)