summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2019-02-15 12:20:10 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-02-15 04:35:23 +0100
commit63ea86804fa119f2bad6f376f249aefc1791d120 (patch)
tree71e3047587a583d6d335c9084d1a775adaabd59a /script
parent689a1ee747b3ae1e03bcdae2706ccbb552005a85 (diff)
downloadsamba-63ea86804fa119f2bad6f376f249aefc1791d120.tar.gz
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>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 91098f51074..f2a29497cf2 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -465,9 +465,8 @@ def run_cmd(cmd, dir=".", show=None, output=False, checkfail=True):
class builder(object):
'''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.py2 = py2
if name in builddirs:
self.dir = builddirs[name]
else:
@@ -539,13 +538,7 @@ class buildlist(object):
os.environ['AUTOBUILD_RANDOM_SLEEP_OVERRIDE'] = '1'
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)
if options.retry:
rebase_remote = "rebaseon"