diff -r 2662f4e17eb4 -r b0165b7af7a3 VirtualMailManager/cli/subcommands.py --- a/VirtualMailManager/cli/subcommands.py Wed Jun 27 12:46:27 2012 +0000 +++ b/VirtualMailManager/cli/subcommands.py Wed Jun 27 13:11:28 2012 +0000 @@ -924,7 +924,11 @@ q_usage['percent'] = locale.format('%6.2f', 100. / limit * used, True) else: q_usage['percent'] = locale.format('%6.2f', 0, True) - fmt = format_domain_default if domaindefault else lambda s: s + # Py25: fmt = format_domain_default if domaindefault else lambda s: s + if domaindefault: + fmt = format_domain_default + else: + fmt = lambda s: s return fmt(_(u'[%(percent)s%%] %(used)s/%(limit)s') % q_usage)