author | Pascal Volk <neverseen@users.sourceforge.net> |
Sun, 31 Jul 2011 22:14:02 +0000 | |
branch | v0.6.x |
changeset 423 | a43a2e20de71 |
parent 422 | 33a45e4c80c4 |
child 424 | 46c296c6e231 |
--- a/VirtualMailManager/cli/subcommands.py Thu Mar 10 19:34:28 2011 +0000 +++ b/VirtualMailManager/cli/subcommands.py Sun Jul 31 22:14:02 2011 +0000 @@ -441,7 +441,7 @@ else: password = ctx.args[3] gen_pass = ctx.hdlr.user_add(ctx.args[2].lower(), password) - if gen_pass: + if ctx.argc < 4 and gen_pass: w_std(_(u"Generated password: %s") % gen_pass)