VMM/cli: Deleted unnecessary encode()s from read_pass.
--- 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: