# HG changeset patch # User Pascal Volk # Date 1355074450 0 # Node ID de435d1aa1c0e61d393192e943bd972c5b5a9b8c # Parent 9ec7770193adba0c891b9764c8d7fa5a46f988b6 VMM/cli: Deleted unnecessary encode()s from read_pass. diff -r 9ec7770193ad -r de435d1aa1c0 VirtualMailManager/cli/__init__.py --- a/VirtualMailManager/cli/__init__.py Sun Dec 09 15:03:33 2012 +0000 +++ b/VirtualMailManager/cli/__init__.py Sun Dec 09 17:34:10 2012 +0000 @@ -79,9 +79,9 @@ Throws a VMMError after the third failure. """ # TP: Please preserve the trailing space. - readp_msg0 = _('Enter new password: ').encode(ENCODING, 'replace') + readp_msg0 = _('Enter new password: ') # TP: Please preserve the trailing space. - readp_msg1 = _('Retype new password: ').encode(ENCODING, 'replace') + readp_msg1 = _('Retype new password: ') mismatched = True failures = 0 while mismatched: