From 958d7a5710e52bbb04d5db79a6b2c0e1dab0e355 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 3 Oct 2010 15:06:51 +0200 Subject: land: Inherit EMAIL from the environment. --- script/land-remote.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script') diff --git a/script/land-remote.py b/script/land-remote.py index a705165f47..4a9c3fac8e 100755 --- a/script/land-remote.py +++ b/script/land-remote.py @@ -34,6 +34,9 @@ parser.add_option("--fail-slowly", help="continue running tests even after one h (opts, extra_args) = parser.parse_args() +if opts.email is None and os.getenv("EMAIL") is not None: + opts.email = os.getenv("EMAIL") + if not opts.foreground and not opts.email: print "Not running in foreground and --email not specified." sys.exit(1) -- cgit