From: Douglas Bagnall Date: Thu, 11 Oct 2018 03:03:22 +0000 (+1300) Subject: autobuild: remove unused variables X-Git-Tag: tdb-1.3.17~1002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e796308229f6fc13610f8e8378f29db0b6418e7;p=thirdparty%2Fsamba.git autobuild: remove unused variables Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- 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 = '''