]> git.ipfire.org Git - ipfire.org.git/commitdiff
Always add "localhost/1" to the distcc host list.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2008 12:42:14 +0000 (14:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 3 Oct 2008 12:42:14 +0000 (14:42 +0200)
build/rpc.py

index 951bcf520d8ab64751c5b4488fd2a7d3d185da55..3a8923401d16477650ed134efec6338260f42df2 100644 (file)
@@ -77,7 +77,7 @@ elif action == "get":
                                        builders = []
                                        for builder in getAllBuilders():
                                                builders.append("%s" % builder.distcc)
-                                       string = ""
+                                       string = "localhost/1"
                                        while True:
                                                if not builders: break
                                                rand = random.randint(0, len(builders)-1)