From: Jelmer Vernooij Date: Mon, 4 Oct 2010 11:51:34 +0000 (+0200) Subject: land-remote: Announce what address email is going to be sent to. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=f1b62eaa2cda7c92897ca9239573c67798a41f1a;p=metze%2Fsamba%2Fwip.git land-remote: Announce what address email is going to be sent to. --- diff --git a/script/land-remote.py b/script/land-remote.py index 4a9c3fac8e84..43fdacb785ff 100755 --- a/script/land-remote.py +++ b/script/land-remote.py @@ -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)