git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d08c1
)
land: Inherit EMAIL from the environment.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 3 Oct 2010 13:06:51 +0000
(15:06 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 3 Oct 2010 14:25:37 +0000
(16:25 +0200)
script/land-remote.py
patch
|
blob
|
history
diff --git
a/script/land-remote.py
b/script/land-remote.py
index a705165f47889cdbda35c2cd89468ea64f79e746..4a9c3fac8e843f579a73717e9bc22e0ac4e10341 100755
(executable)
--- 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)