mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
autobuild: remove unused variables
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
parent
e37edb7639
commit
5e79630822
@ -825,7 +825,6 @@ def email_failure(status, failed_task, failed_stage, failed_tag, errstr,
|
|||||||
elapsed_time, log_base=None, add_log_tail=True):
|
elapsed_time, log_base=None, add_log_tail=True):
|
||||||
'''send an email to options.email about the failure'''
|
'''send an email to options.email about the failure'''
|
||||||
elapsed_minutes = elapsed_time / 60.0
|
elapsed_minutes = elapsed_time / 60.0
|
||||||
user = os.getenv("USER")
|
|
||||||
if log_base is None:
|
if log_base is None:
|
||||||
log_base = gitroot
|
log_base = gitroot
|
||||||
text = '''
|
text = '''
|
||||||
@ -889,7 +888,6 @@ The last 50 lines of log messages:
|
|||||||
|
|
||||||
def email_success(elapsed_time, log_base=None):
|
def email_success(elapsed_time, log_base=None):
|
||||||
'''send an email to options.email about a successful build'''
|
'''send an email to options.email about a successful build'''
|
||||||
user = os.getenv("USER")
|
|
||||||
if log_base is None:
|
if log_base is None:
|
||||||
log_base = gitroot
|
log_base = gitroot
|
||||||
text = '''
|
text = '''
|
||||||
|
Loading…
Reference in New Issue
Block a user