Commit 366264e
authored
Fix passing queues into purge command (celery#6469)
In current wersion calling `celery --app my.celery_app purge -Q queue_name` is failing with following trace:
```
names = (queues or set(app.amqp.queues.keys())) - exclude_queues
TypeError: unsupported operand type(s) for -: 'list' and 'list'
```
Becouse code is expecting set and `queues` is actually a list.
Here is a fix.1 parent b038786 commit 366264e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments