summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2016-07-27 14:09:08 +1200
committerDouglas Bagnall <dbagnall@samba.org>2016-08-31 07:09:26 +0200
commit25efdf330bf91e7995c4d53a25713f2eaa364c0b (patch)
tree542d56b4f20e5445b9b07324875abfa893b2a4f2 /script
parent91a2eb052581216e7baa670040d212c02d7148ea (diff)
downloadsamba-25efdf330bf91e7995c4d53a25713f2eaa364c0b.tar.gz
autobuild: remove unused argument
The "tasklist" parameter is the same as the global "tasks" variable, but only the latter is used. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 419fe1a58cb..b0695d04d2c 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -292,7 +292,7 @@ class builder(object):
class buildlist(object):
'''handle build of multiple directories'''
- def __init__(self, tasklist, tasknames, rebase_url, rebase_branch="master"):
+ def __init__(self, tasknames, rebase_url, rebase_branch="master"):
global tasks
self.tlist = []
self.tail_proc = None
@@ -718,7 +718,7 @@ while True:
'rebase on %s failed' % options.branch,
elapsed_time, log_base=options.log_base)
sys.exit(1)
- blist = buildlist(tasks, args, options.rebase, rebase_branch=options.branch)
+ blist = buildlist(args, options.rebase, rebase_branch=options.branch)
if options.tail:
blist.start_tail()
(status, failed_task, failed_stage, failed_tag, errstr) = blist.run()