summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-03 00:10:47 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-03 05:25:17 +0200
commitd8e81a19de99c6784267d45843b8295b4e40fc7c (patch)
tree600b52b2251a84f441462385806ca26bdc2c9ad1
parent0e11d18d1462a10f63ff82a11cdd88ffa53c83e5 (diff)
downloadsamba-d8e81a19de99c6784267d45843b8295b4e40fc7c.tar.gz
samba-d8e81a19de99c6784267d45843b8295b4e40fc7c.tar.bz2
samba-d8e81a19de99c6784267d45843b8295b4e40fc7c.zip
land-remote: Run remote land command unbuffered.
-rwxr-xr-xscript/land-remote.py2
-rwxr-xr-xscript/land.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/land-remote.py b/script/land-remote.py
index 75f1b41915..975427ba7d 100755
--- a/script/land-remote.py
+++ b/script/land-remote.py
@@ -50,7 +50,7 @@ print "Pushing local branch"
args = ["git", "push", "--force", "git+ssh://%s/%s" % (opts.host, remote_repo), "HEAD:land"]
print "$ " + " ".join(args)
subprocess.check_call(args)
-remote_args = ["cd", remote_repo, ";", "git", "checkout", "land", ";", "python", "./script/land.py", "--repository=%s" % remote_repo]
+remote_args = ["cd", remote_repo, ";", "git", "checkout", "land", ";", "./script/land.py", "--repository=%s" % remote_repo]
if opts.email:
remote_args.append("--email=%s" % opts.email)
if opts.always_email:
diff --git a/script/land.py b/script/land.py
index 632f844558..28769486e2 100755
--- a/script/land.py
+++ b/script/land.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -u
# run tests on all Samba subprojects and push to a git tree on success
# Copyright Andrew Tridgell 2010
# Copyright Jelmer Vernooij 2010