Add tool for handling abusing users
This commit is contained in:
parent
82542619a3
commit
1cbacbbb63
2 changed files with 87 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Reference in a new issue