1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

autobuild: Fix -py3 support to look in tasks (the table with the tests) not tasknames (the requested list)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-08-27 13:30:37 +12:00
parent 05389bcbf8
commit 9a3b64707f

View File

@ -475,7 +475,7 @@ class buildlist(object):
os.environ['AUTOBUILD_RANDOM_SLEEP_OVERRIDE'] = '1'
for n in tasknames:
if n not in tasknames and n.endswith("-py3"):
if n not in tasks and n.endswith("-py3"):
b = builder(n,
tasks[n[:-4]],
cp=n is not "pidl",