VMM/cli: Deleted unnecessary encode()s from read_pass. v0.7.x
authorPascal Volk <user@localhost.localdomain.org>
Sun, 09 Dec 2012 17:34:10 +0000
branchv0.7.x
changeset 663 de435d1aa1c0
parent 662 9ec7770193ad
child 664 b5cc967a45ad
VMM/cli: Deleted unnecessary encode()s from read_pass.
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: