autobuild: fixed the tuples in the retry_task
authorAndrew Tridgell <tridge@samba.org>
Fri, 1 Oct 2010 18:17:04 +0000 (11:17 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Oct 2010 18:22:22 +0000 (18:22 +0000)
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct  1 18:22:22 UTC 2010 on sn-devel-104

script/autobuild.py

index 4e3bc5101f0eed70a9eafed026c0f357d80bdade..a2d2a2c31a39b64a7c7c4f11afcdb1a007ddef10 100755 (executable)
@@ -58,7 +58,8 @@ tasks = {
                      ("test", "make test", "text/plain"), ],
 }
 
-retry_task = [ '''set -e
+retry_task = [ ( "retry",
+                 '''set -e
                 git remote add -t master master %s
                 git fetch master
                 while :; do
@@ -68,7 +69,7 @@ retry_task = [ '''set -e
                   git describe master/master > master.desc
                   diff old_master.desc master.desc
                 done
-               ''' % samba_master]
+               ''' % samba_master, "test/plain" ) ]
 
 def run_cmd(cmd, dir=".", show=None, output=False, checkfail=True):
     if show is None: