Revision 6c997921 snf-pithos-app/pithos/api/management/commands/storagequota.py

b/snf-pithos-app/pithos/api/management/commands/storagequota.py
65 65
        backend = get_backend()
66 66
        backend.default_policy['quota'] = BACKEND_QUOTA
67 67
        backend.default_policy['versioning'] = BACKEND_VERSIONING
68

  
69
        if backend.using_external_quotaholder:
70
            raise CommandError("The system uses an extrenal quota holder.")
71

  
68 72
        if quota is not None:
69 73
            backend.update_account_policy(user, user, {'quota': quota})
70 74
        else:

Also available in: Unified diff