Revision 3c22bad0 snf-astakos-app/astakos/im/management/commands/quota.py
b/snf-astakos-app/astakos/im/management/commands/quota.py | ||
---|---|---|
36 | 36 |
|
37 | 37 |
from astakos.im.models import AstakosUser |
38 | 38 |
from astakos.im.quotas import ( |
39 |
qh_sync_users, list_user_quotas, add_base_quota) |
|
39 |
qh_sync_users_diffs, list_user_quotas, add_base_quota)
|
|
40 | 40 |
from astakos.im.functions import get_user_by_uuid |
41 | 41 |
from astakos.im.management.commands._common import is_uuid, is_email |
42 | 42 |
from snf_django.lib.db.transaction import commit_on_success_strict |
... | ... | |
117 | 117 |
output_format) |
118 | 118 |
|
119 | 119 |
elif verify or sync: |
120 |
qh_limits, diff_q = qh_sync_users(users, sync=sync, diff_only=True)
|
|
120 |
qh_limits, diff_q = qh_sync_users_diffs(users, sync=sync)
|
|
121 | 121 |
if verify: |
122 | 122 |
self.print_verify(qh_limits, diff_q) |
123 | 123 |
if sync: |
Also available in: Unified diff