equal
deleted
inserted
replaced
152 _print_aliasdomain_info(ctx.hdlr.aliasdomain_info(ctx.args[2].lower())) |
152 _print_aliasdomain_info(ctx.hdlr.aliasdomain_info(ctx.args[2].lower())) |
153 except VMMError, err: |
153 except VMMError, err: |
154 if err.code is ALIASDOMAIN_ISDOMAIN: |
154 if err.code is ALIASDOMAIN_ISDOMAIN: |
155 w_err(0, ctx.plan_a_b % {'subcommand': u'domaininfo', |
155 w_err(0, ctx.plan_a_b % {'subcommand': u'domaininfo', |
156 'object': ctx.args[2].lower()}) |
156 'object': ctx.args[2].lower()}) |
157 ctx.args[1] = 'domaininfo' |
157 ctx.scmd = ctx.args[1] = 'domaininfo' |
158 domain_info(ctx) |
158 domain_info(ctx) |
159 else: |
159 else: |
160 raise |
160 raise |
161 |
161 |
162 |
162 |
250 info = ctx.hdlr.domain_info(ctx.args[2].lower(), details) |
250 info = ctx.hdlr.domain_info(ctx.args[2].lower(), details) |
251 except VMMError, err: |
251 except VMMError, err: |
252 if err.code is DOMAIN_ALIAS_EXISTS: |
252 if err.code is DOMAIN_ALIAS_EXISTS: |
253 w_err(0, ctx.plan_a_b % {'subcommand': u'aliasdomaininfo', |
253 w_err(0, ctx.plan_a_b % {'subcommand': u'aliasdomaininfo', |
254 'object': ctx.args[2].lower()}) |
254 'object': ctx.args[2].lower()}) |
255 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' |