equal
deleted
inserted
replaced
358 be empty. |
358 be empty. |
359 """ |
359 """ |
360 dcv = cfg_dget('misc.dovecot_version') |
360 dcv = cfg_dget('misc.dovecot_version') |
361 schemes = (k for (k, v) in _scheme_info.iteritems() if v[1] <= dcv) |
361 schemes = (k for (k, v) in _scheme_info.iteritems() if v[1] <= dcv) |
362 if dcv >= 0x10100a01: |
362 if dcv >= 0x10100a01: |
363 encodings = DEFAULT_B64[1:] + DEFAULT_HEX[1:] |
363 encodings = ('.B64', '.BASE64', '.HEX') |
364 else: |
364 else: |
365 encodings = () |
365 encodings = () |
366 return schemes, encodings |
366 return schemes, encodings |
367 |
367 |
368 |
368 |