summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJavier <javiercvilla@gmail.com>2017-02-21 15:04:32 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2017-02-21 08:04:32 -0600
commitd49cb2734f21f064f6abe563726ae7fdeb1dcf62 (patch)
tree8a8691df125522a7031de295b8e6384070ee2d75 /lib
parent31952645466a7e2d749256181c297635bb988cb7 (diff)
downloadspack-d49cb2734f21f064f6abe563726ae7fdeb1dcf62.tar.gz
spack-d49cb2734f21f064f6abe563726ae7fdeb1dcf62.tar.bz2
spack-d49cb2734f21f064f6abe563726ae7fdeb1dcf62.tar.xz
spack-d49cb2734f21f064f6abe563726ae7fdeb1dcf62.zip
Fixing issue wheh overwriting build_args in PythonPackage (#3200)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index 2901dcfa63..14b213a756 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -231,7 +231,7 @@ class PythonPackageTemplate(PackageTemplate):
# depends_on('py-foo', type=('build', 'run'))"""
body = """\
- def build_args(self):
+ def build_args(self, spec, prefix):
# FIXME: Add arguments other than --prefix
# FIXME: If not needed delete the function
args = []