# HG changeset patch # User Pascal Volk # Date 1358097841 0 # Node ID c6024bc1de0fb6798a983e5b4b240015b99ec737 # Parent 083d36f532976fb6254c30135bd0bebf16edae93 VMM/cli/subcommands: domain_add: Fixed a coding error. diff -r 083d36f53297 -r c6024bc1de0f VirtualMailManager/cli/subcommands.py --- a/VirtualMailManager/cli/subcommands.py Sun Jan 13 15:41:13 2013 +0000 +++ b/VirtualMailManager/cli/subcommands.py Sun Jan 13 17:24:01 2013 +0000 @@ -166,7 +166,7 @@ def domain_add(ctx): """create a new domain""" fqdn = ctx.args.fqdn.lower() - transport = ctx.args.transport.lower if ctx.args.transport else None + transport = ctx.args.transport.lower() if ctx.args.transport else None ctx.hdlr.domain_add(fqdn, transport) if ctx.cget('domain.auto_postmaster'): w_std(_('Creating account for postmaster@%s') % fqdn)