Fixed unmatched function signature for do_fetch in jdk package

This commit is contained in:
Alfredo Gimenez 2016-03-04 14:53:08 -08:00
parent 6449e8b1b9
commit f90eaa5f46

View file

@ -28,7 +28,7 @@ class Jdk(Package):
'-H', # specify required License Agreement cookie
'Cookie: oraclelicense=accept-securebackup-cookie']
def do_fetch(self):
def do_fetch(self, mirror_only=False):
# Add our custom curl commandline options
tty.msg(
"[Jdk] Adding required commandline options to curl " +
@ -39,7 +39,7 @@ def do_fetch(self):
spack.curl.add_default_arg(option)
# Now perform the actual fetch
super(Jdk, self).do_fetch()
super(Jdk, self).do_fetch(mirror_only)
def install(self, spec, prefix):