autobuild: Fix -py3 support to look in tasks (the table with the tests) not tasknames...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Aug 2018 01:30:37 +0000 (13:30 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Aug 2018 06:53:20 +0000 (08:53 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
script/autobuild.py

index 5fac8d312d2881e8f75c83445c659c8a51181659..fcb4e4af026739b8444a3bb62923da5092705c6e 100755 (executable)
@@ -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",