]> git.ipfire.org Git - pbs.git/commitdiff
hub: Fix wrong function call.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Dec 2012 23:19:47 +0000 (00:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Dec 2012 23:19:47 +0000 (00:19 +0100)
hub/handlers.py

index af14ad3270a237787e028c1b18c04ce758bf148e..b344ff27efa73dd770bcdc464d6d2635dda8ca66 100644 (file)
@@ -618,7 +618,7 @@ class BuilderHandler(BuilderAuthMixin, CommonAuthHandler):
                #       return
 
                # Check if host has already too many simultaneous jobs.
-               if len(self.builder.get_active_jobs(uploads=False)) >= self.builder.max_jobs:
+               if len(self.builder.get_active_jobs()) >= self.builder.max_jobs:
                        logging.debug("Host has already too many jobs: %s" % \
                                self.builder.name)
                        return