summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2018-10-11 16:03:22 +1300
committerDouglas Bagnall <dbagnall@samba.org>2018-11-01 05:08:15 +0100
commit5e796308229f6fc13610f8e8378f29db0b6418e7 (patch)
treee22988fce1f89bcaa4678e7cd17c4b9942126cc2 /script
parente37edb7639b7b7ddec0cbed9d0f1b235b22f2eed (diff)
downloadsamba-5e796308229f6fc13610f8e8378f29db0b6418e7.tar.gz
autobuild: remove unused variables
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 5a90b07afe9..989c69cfec9 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -825,7 +825,6 @@ def email_failure(status, failed_task, failed_stage, failed_tag, errstr,
elapsed_time, log_base=None, add_log_tail=True):
'''send an email to options.email about the failure'''
elapsed_minutes = elapsed_time / 60.0
- user = os.getenv("USER")
if log_base is None:
log_base = gitroot
text = '''
@@ -889,7 +888,6 @@ The last 50 lines of log messages:
def email_success(elapsed_time, log_base=None):
'''send an email to options.email about a successful build'''
- user = os.getenv("USER")
if log_base is None:
log_base = gitroot
text = '''