Revision b6426ead snf-pithos-app/pithos/api/management/commands/reconcile-commissions-pithos.py
b/snf-pithos-app/pithos/api/management/commands/reconcile-commissions-pithos.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from django.core.management.base import NoArgsCommand, CommandError
|
|
34 |
from django.core.management.base import CommandError |
|
35 | 35 |
from optparse import make_option |
36 | 36 |
|
37 | 37 |
from pithos.api.util import get_backend |
38 |
from snf_django.management.commands import SynnefoCommand |
|
38 | 39 |
|
39 | 40 |
import logging |
40 | 41 |
|
... | ... | |
43 | 44 |
CLIENTKEY = 'pithos' |
44 | 45 |
|
45 | 46 |
|
46 |
class Command(NoArgsCommand):
|
|
47 |
class Command(SynnefoCommand):
|
|
47 | 48 |
help = "Display unresolved commissions and trigger their recovery" |
48 | 49 |
|
49 |
option_list = NoArgsCommand.option_list + (
|
|
50 |
option_list = SynnefoCommand.option_list + (
|
|
50 | 51 |
make_option('--fix', |
51 | 52 |
dest='fix', |
52 | 53 |
action="store_true", |
Also available in: Unified diff