Revision 1f3f907f snf-pithos-app/pithos/api/management/commands/pithos-reset-usage.py
b/snf-pithos-app/pithos/api/management/commands/pithos-reset-usage.py | ||
---|---|---|
131 | 131 |
|
132 | 132 |
def handle_noargs(self, **options): |
133 | 133 |
try: |
134 |
if not backend.quotaholder_enabled: |
|
135 |
raise CommandError('Quotaholder component is not enabled') |
|
136 |
|
|
134 | 137 |
if not backend.quotaholder_url: |
135 | 138 |
raise CommandError('Quotaholder component url is not set') |
136 | 139 |
|
Also available in: Unified diff