]> git.ipfire.org Git - ipfire.org.git/commitdiff
I rather prefer the hosts in one line.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Sep 2008 16:05:13 +0000 (18:05 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Sep 2008 16:05:13 +0000 (18:05 +0200)
build/rpc.py

index bfcf44d8f2c230cc17e3ea95e6003db9573bd6b2..951bcf520d8ab64751c5b4488fd2a7d3d185da55 100644 (file)
@@ -81,7 +81,7 @@ elif action == "get":
                                        while True:
                                                if not builders: break
                                                rand = random.randint(0, len(builders)-1)
-                                               string += "%s\n" % builders[rand]
+                                               string = "%s %s" % (string, builders[rand],)
                                                builders.pop(rand)
                                        response.set_mesg(string)