VMM/cli/subcommands: Fixed a TypeError in user_info(). v0.6.x
authorPascal Volk <user@localhost.localdomain.org>
Tue, 13 Dec 2011 00:34:39 +0000
branchv0.6.x
changeset 487 fb0af82ab4af
parent 486 ccdfbbb1bb01
child 488 b8d5564b4e42
VMM/cli/subcommands: Fixed a TypeError in user_info().
VirtualMailManager/cli/subcommands.py
--- a/VirtualMailManager/cli/subcommands.py	Mon Dec 05 16:17:01 2011 +0000
+++ b/VirtualMailManager/cli/subcommands.py	Tue Dec 13 00:34:39 2011 +0000
@@ -546,7 +546,7 @@
             _print_info(ctx, info, _(u'Account'))
         else:
             info[0]['quota storage'] = _format_quota_usage(info[0]['ql_bytes'],
-                    info['uq_bytes'], True)
+                    info[0]['uq_bytes'], True)
             info[0]['quota messages'] = _format_quota_usage(
                     info[0]['ql_messages'], info[0]['uq_messages'])
             _print_info(ctx, info[0], _(u'Account'))