branch | v0.7.x |
changeset 638 | 0de0b9e75c9f |
parent 636 | 27334cfc0c90 |
child 643 | df1e3b67882a |
--- a/VirtualMailManager/password.py Sun Nov 04 18:33:11 2012 +0000 +++ b/VirtualMailManager/password.py Mon Nov 05 21:57:37 2012 +0000 @@ -331,10 +331,7 @@ """ dcv = cfg_dget('misc.dovecot_version') schemes = (k for (k, v) in _scheme_info.iteritems() if v[1] <= dcv) - if dcv >= 0x10100a01: - encodings = ('.B64', '.BASE64', '.HEX') - else: - encodings = () + encodings = ('.B64', '.BASE64', '.HEX') if dcv >= 0x10100a01 else () return schemes, encodings