removed leftover print
This commit is contained in:
+1
-1
@@ -1120,7 +1120,7 @@ class Scheduler(MetaScheduler):
|
|||||||
(ws.group_names.contains(group)) &
|
(ws.group_names.contains(group)) &
|
||||||
(~ws.status.belongs(exclusion))
|
(~ws.status.belongs(exclusion))
|
||||||
)._select(ws.id, limitby=(0,limit))
|
)._select(ws.id, limitby=(0,limit))
|
||||||
print self.db(ws.id.belongs(workers)).update(status=action)
|
self.db(ws.id.belongs(workers)).update(status=action)
|
||||||
|
|
||||||
def disable(self, group_names=None, limit=None):
|
def disable(self, group_names=None, limit=None):
|
||||||
"""Sets DISABLED on the workers processing `group_names` tasks.
|
"""Sets DISABLED on the workers processing `group_names` tasks.
|
||||||
|
|||||||
Reference in New Issue
Block a user