Add tool for handling abusing users

This commit is contained in:
Joseph Schorr 2016-12-27 12:20:38 -05:00
parent 82542619a3
commit 1cbacbbb63
2 changed files with 87 additions and 1 deletions

View file

@ -156,7 +156,7 @@ class WorkQueue(object):
subpath_query = '%s/' % subpath if subpath else ''
queue_prefix = '%s/%s/%s%%' % (self._queue_name, namespace, subpath_query)
QueueItem.delete().where(QueueItem.queue_name ** queue_prefix).execute()
return QueueItem.delete().where(QueueItem.queue_name ** queue_prefix).execute()
def alive(self, canonical_name_list):
"""