mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
land-remote: Announce what address email is going to be sent to.
This commit is contained in:
parent
20d39691a8
commit
f1b62eaa2c
@ -37,6 +37,9 @@ parser.add_option("--fail-slowly", help="continue running tests even after one h
|
||||
if opts.email is None and os.getenv("EMAIL") is not None:
|
||||
opts.email = os.getenv("EMAIL")
|
||||
|
||||
if opts.email:
|
||||
print "Sending email to %s" % opts.email
|
||||
|
||||
if not opts.foreground and not opts.email:
|
||||
print "Not running in foreground and --email not specified."
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user