fix: return (None, None) for dequeue_any if no result

main
Jean-Christophe SAAD-DUPUY 9 years ago
parent 59d193590c
commit 8fbf5452fa

@ -387,6 +387,7 @@ class Queue(object):
e.queue = queue e.queue = queue
raise e raise e
return job, queue return job, queue
return None, None
# Total ordering defition (the rest of the required Python methods are # Total ordering defition (the rest of the required Python methods are
# auto-generated by the @total_ordering decorator) # auto-generated by the @total_ordering decorator)

Loading…
Cancel
Save