]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/request_handler.py
- doh, fix join() again
[tld-builder.git] / TLD_Builder / request_handler.py
index a002a496ec15acfe758870501acdba81519e8e09..de48d9e07768926202ad9e51e712e40495ae9e66 100644 (file)
@@ -104,7 +104,7 @@ def handle_group(r, user):
             batch.builders_status_time[bld] = time.time()
             if bld not in config.binary_builders and bld != config.builder:
                 fail_mail("I (src rpm builder '%s') do not handle binary builder '%s', only '%s'" % \
-                        (config.builder, bld, string.join(config.binary_builders)))
+                        (config.builder, bld, ' '.join(config.binary_builders)))
                 lockf.close()
                 return
             if batch.is_command():
@@ -159,7 +159,7 @@ def handle_notification(r, user):
     q = B_Queue(path.req_queue_file)
     q.lock(0)
     q.read()
-    not_fin = list(filter(lambda (r): not r.is_done(), q.requests))
+    not_fin = list(filter(lambda r: not r.is_done(), q.requests))
     r.apply_to(q)
     for r in not_fin:
         if r.is_done():