VirtualMailManager/cli/subcommands.py
branchv0.6.x
changeset 413 e5b3b225bd5b
parent 409 54a89c19e534
child 414 ae1a8428298c
equal deleted inserted replaced
412:65687300ba19 413:e5b3b225bd5b
   255             ctx.scmd = ctx.args[1] = 'aliasdomaininfo'
   255             ctx.scmd = ctx.args[1] = 'aliasdomaininfo'
   256             aliasdomain_info(ctx)
   256             aliasdomain_info(ctx)
   257         else:
   257         else:
   258             raise
   258             raise
   259     else:
   259     else:
   260         q_limit = u'Storage: %(bytes)s Messages %(messages)u'
   260         q_limit = u'Storage: %(bytes)s; Messages: %(messages)u'
   261         if not details:
   261         if not details:
   262             info['bytes'] = human_size(info['bytes'])
   262             info['bytes'] = human_size(info['bytes'])
   263             info['quota limit'] = q_limit % info
   263             info['quota limit'] = q_limit % info
   264             _print_info(ctx, info, _(u'Domain'))
   264             _print_info(ctx, info, _(u'Domain'))
   265         else:
   265         else: