Commit 1f3cec0c authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Print log in astakos-quota-verify

parent c44e6eda
......@@ -62,6 +62,16 @@ class Command(BaseCommand):
try:
log = sync_all_users(sync=sync)
existing, nonexisting, registered_quotas, astakos_quotas = log
self.stdout.write("User registered in quotaholder:\n")
self.stdout.write("%s\n\n" % (existing))
self.stdout.write("User not registered in quotaholder:\n")
self.stdout.write("%s\n\n" % (nonexisting))
self.stdout.write("Quotas according to quotaholder:\n")
self.stdout.write("%s\n\n" % (registered_quotas))
self.stdout.write("Quotas according to astakos:\n")
self.stdout.write("%s\n" % (astakos_quotas))
except BaseException, e:
logger.exception(e)
raise CommandError("Syncing failed.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment