VMM/cli/subcommands: domain_add: Fixed a coding error.
--- 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)