Commit d6aeae54 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

astakos: List quota for accepted users only

Don't attempt to show quota for non-accepted users, since they don't have
parent 6ebdb2a4
......@@ -123,7 +123,7 @@ class Command(SynnefoCommand):
utils.pprint_table(self.stdout, [kv.values()], kv.keys(),
options["output_format"], vertical=True)
if options["list_quotas"]:
if options["list_quotas"] and user.is_accepted():
unit_style = options["unit_style"]
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