Revision 62fda315 snf-astakos-app/astakos/im/management/commands/astakos-quota-verify.py
b/snf-astakos-app/astakos/im/management/commands/astakos-quota-verify.py | ||
---|---|---|
62 | 62 |
|
63 | 63 |
try: |
64 | 64 |
log = sync_all_users(sync=sync) |
65 |
existing, nonexisting, registered_quotas, astakos_quotas = log |
|
66 |
|
|
67 |
self.stdout.write("User registered in quotaholder:\n") |
|
68 |
self.stdout.write("%s\n\n" % (existing)) |
|
69 |
self.stdout.write("User not registered in quotaholder:\n") |
|
70 |
self.stdout.write("%s\n\n" % (nonexisting)) |
|
71 |
self.stdout.write("Quotas according to quotaholder:\n") |
|
72 |
self.stdout.write("%s\n\n" % (registered_quotas)) |
|
73 |
self.stdout.write("Quotas according to astakos:\n") |
|
74 |
self.stdout.write("%s\n" % (astakos_quotas)) |
|
65 | 75 |
except BaseException, e: |
66 | 76 |
logger.exception(e) |
67 | 77 |
raise CommandError("Syncing failed.") |
Also available in: Unified diff