From 5e796308229f6fc13610f8e8378f29db0b6418e7 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Oct 2018 16:03:22 +1300 Subject: [PATCH] autobuild: remove unused variables Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- script/autobuild.py | 2 -- 1 file changed, 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 = '''