summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index a375da1..1003823 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -106,11 +106,7 @@ class Agljobtemplate(object):
job['priority'] = priority
job['build_type'] = build_type
job['image_type'] = "AGL-%s" % build_type
-
- if patchset != None:
- job["uniqid"] = "AGL-%s-%s-%s-%d" % (machine, changeid, patchset, random.randint(1, 999999))
- else:
- job["uniqid"] = "AGL-%s-%s-%s-%d" % (machine, branch, version, random.randint(1, 999999))
+ job["uniqid"] = "AGL-%s-%d" % (machine, random.randint(1, 999999))
defaults, infra = parse_cfg_file(self._template_path, 'default.cfg', build_type)