diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-09-23 14:34:45 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-09-23 14:34:45 +0200 |
commit | 6445b9a054c06648d6e09762749ee48b00e6e936 (patch) | |
tree | d34b8697c197c05265272b31870e12f9da407177 /utils/job-prereq.py | |
parent | b4f560435abf211bf72e472a74e8da4756184224 (diff) |
Simplify uniqid
Just use a random number. Fixes:
Traceback (most recent call last):
File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/create-jobs.py, line 126, in <module>
main()
File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/create-jobs.py, line 110, in main
app_changeid=args.app_changeid, app_patchset=args.app_patchset, app_branch=args.app_branch)
File /w/workspace/ci-apps-agl-service-bluetooth-verify-master-CIBT-x86-64/repoclone/releng-scripts/utils/agljobtemplate.py, line 113, in render_job
job[uniqid] = AGL-%s-%s-%s-%d % (machine, branch, version, random.randint(1, 999999))
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ifef2d5831b37e69bef30f1d32730736dfafc5a57
Diffstat (limited to 'utils/job-prereq.py')
0 files changed, 0 insertions, 0 deletions