summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/agljobtemplate.py2
-rwxr-xr-xutils/job-prereq.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index dec7fad..59abcb0 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -83,7 +83,7 @@ class Agljobtemplate(object):
def rfs_types(self):
return self.RFS_TYPE
- def render_job(self, url, machine, url_branch=None, url_version=None,
+ def render_job(self, machine, url=None, url_branch=None, url_version=None,
job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None,
lava_callback=None, kci_callback=None,
rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None,
diff --git a/utils/job-prereq.py b/utils/job-prereq.py
index cb690b1..2dadc61 100755
--- a/utils/job-prereq.py
+++ b/utils/job-prereq.py
@@ -46,7 +46,7 @@ def main():
ajt = agljobtemplate.Agljobtemplate(templates_dir)
args = parse_cmdline(ajt.machines)
- job = ajt.render_job(url=args.build_type[0],
+ job = ajt.render_job(build_type=args.build_type[0],
url_branch=args.build_type[1],
url_version=args.build_type[2],
machine=args.machine)