mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
land: Inherit EMAIL from the environment.
This commit is contained in:
parent
88d08c172c
commit
958d7a5710
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user