mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
autobuild: Drop 'py2' flag
This isn't used any more. It was only being set, never referenced. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
689a1ee747
commit
63ea86804f
@ -465,9 +465,8 @@ def run_cmd(cmd, dir=".", show=None, output=False, checkfail=True):
|
|||||||
class builder(object):
|
class builder(object):
|
||||||
'''handle build of one directory'''
|
'''handle build of one directory'''
|
||||||
|
|
||||||
def __init__(self, name, sequence, cp=True, py2=False):
|
def __init__(self, name, sequence, cp=True):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.py2 = py2
|
|
||||||
if name in builddirs:
|
if name in builddirs:
|
||||||
self.dir = builddirs[name]
|
self.dir = builddirs[name]
|
||||||
else:
|
else:
|
||||||
@ -539,12 +538,6 @@ class buildlist(object):
|
|||||||
os.environ['AUTOBUILD_RANDOM_SLEEP_OVERRIDE'] = '1'
|
os.environ['AUTOBUILD_RANDOM_SLEEP_OVERRIDE'] = '1'
|
||||||
|
|
||||||
for n in tasknames:
|
for n in tasknames:
|
||||||
if n not in tasks and n.endswith("-py2"):
|
|
||||||
b = builder(n,
|
|
||||||
tasks[n[:-4]],
|
|
||||||
cp=n is not "pidl",
|
|
||||||
py2=True)
|
|
||||||
else:
|
|
||||||
b = builder(n, tasks[n], cp=n is not "pidl")
|
b = builder(n, tasks[n], cp=n is not "pidl")
|
||||||
self.tlist.append(b)
|
self.tlist.append(b)
|
||||||
if options.retry:
|
if options.retry:
|
||||||
|
Loading…
Reference in New Issue
Block a user