VirtualMailManager/cli/subcommands.py
branchv0.6.x
changeset 455 b15960e9c53c
parent 448 45c917e6a386
child 456 7847f949d0a2
equal deleted inserted replaced
454:7d27627c7fb0 455:b15960e9c53c
   117             w_err(0, ctx.plan_a_b % {'subcommand': u'userinfo',
   117             w_err(0, ctx.plan_a_b % {'subcommand': u'userinfo',
   118                   'object': address})
   118                   'object': address})
   119             ctx.scmd = ctx.args[1] = 'userinfo'
   119             ctx.scmd = ctx.args[1] = 'userinfo'
   120             user_info(ctx)
   120             user_info(ctx)
   121         elif err.code is RELOCATED_EXISTS:
   121         elif err.code is RELOCATED_EXISTS:
   122             w_std(0, ctx.plan_a_b % {'subcommand': u'relocatedinfo',
   122             w_err(0, ctx.plan_a_b % {'subcommand': u'relocatedinfo',
   123                   'object': address})
   123                   'object': address})
   124             ctx.scmd = ctx.args[1] = 'relocatedinfo'
   124             ctx.scmd = ctx.args[1] = 'relocatedinfo'
   125             relocated_info(ctx)
   125             relocated_info(ctx)
   126         else:
   126         else:
   127             raise
   127             raise