summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-10-03 17:55:36 +0000
committerKevin Hilman <khilman@baylibre.com>2017-10-03 17:56:25 +0000
commit248a47e3abc911af5f1a6e0114ae5686d1ccbe1b (patch)
tree55483fa313172f30d24ae3b7cc2c6f31651d613b /utils/agljobtemplate.py
parent2bc4acf27f841ee4e9554320ad03fa5d53f4b34b (diff)
Revert "Add version command line option"
This reverts commit 2bc4acf27f841ee4e9554320ad03fa5d53f4b34b. Fails with: argparse.ArgumentError: argument --version/-v: conflicting option string(s): --version Change-Id: I93fa8b29f53f10e75c73833072d0d79700d31f22 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index 48bafad..0d34867 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -60,7 +60,7 @@ class Agljobtemplate(object):
return self.RFS_TYPE
def render_job(self, url, machine, job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None,
- kci_callback=None, rfs_image=None, kernel_version=None):
+ kci_callback=None, rfs_image=None):
test_templates = []
if machine not in self.machines:
@@ -80,9 +80,6 @@ class Agljobtemplate(object):
job['urlbase'] = url
job['test_templates'] = test_templates
- if kernel_version is not None:
- job['kernel_version'] = kernel_version
-
if rfs_type is not None:
job['rootfs_type'] = rfs_type