From 39adc4a227eabffbb3417b35f7ba48023bf87896 Mon Sep 17 00:00:00 2001 From: Anael Beutot Date: Tue, 4 Dec 2012 14:10:13 +0100 Subject: [PATCH] Simpler error message for password administration The "Aborted" was redondant since we already know there was an error. --- cccli/commands/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cccli/commands/account.py b/cccli/commands/account.py index 0ef4c0d..98e6c53 100644 --- a/cccli/commands/account.py +++ b/cccli/commands/account.py @@ -128,7 +128,7 @@ class Command_passwd(TqlCommand): _pass = self.printer.getpass("Password: ") _check = self.printer.getpass("Again: ") if _pass != _check: - raise cmdError("You don't type twice the same password. Aborted") + raise cmdError("Password mismatch") # execute command self.rpccall("passwd", _tql, _pass) -- GitLab