From: Michael Tremer Date: Thu, 13 Dec 2012 23:19:47 +0000 (+0100) Subject: hub: Fix wrong function call. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c192bc2d8949a8fa75b5fd4c6261e34eaf11a264;p=pbs.git hub: Fix wrong function call. --- diff --git a/hub/handlers.py b/hub/handlers.py index af14ad32..b344ff27 100644 --- a/hub/handlers.py +++ b/hub/handlers.py @@ -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