Revision b6426ead snf-cyclades-app/synnefo/logic/management/commands/queue-retry.py
b/snf-cyclades-app/synnefo/logic/management/commands/queue-retry.py | ||
---|---|---|
27 | 27 |
# those of the authors and should not be interpreted as representing official |
28 | 28 |
# policies, either expressed or implied, of GRNET S.A. |
29 | 29 |
# |
30 |
from django.core.management.base import BaseCommand |
|
31 | 30 |
from optparse import make_option |
32 | 31 |
|
33 | 32 |
from synnefo.lib.amqp import AMQPClient |
33 |
from snf_django.management.commands import SynnefoCommand |
|
34 | 34 |
|
35 | 35 |
from synnefo.logic import queues |
36 | 36 |
|
... | ... | |
39 | 39 |
log = logging.getLogger("") |
40 | 40 |
|
41 | 41 |
|
42 |
class Command(BaseCommand):
|
|
42 |
class Command(SynnefoCommand):
|
|
43 | 43 |
help = "Resend messages from dead letter queues to original exchange""" |
44 | 44 |
|
45 |
option_list = BaseCommand.option_list + (
|
|
45 |
option_list = SynnefoCommand.option_list + (
|
|
46 | 46 |
make_option( |
47 | 47 |
'--keep-zombies', |
48 | 48 |
action='store_true', |
Also available in: Unified diff