--- a/VirtualMailManager/Account.py Sun Apr 25 03:03:09 2010 +0000
+++ b/VirtualMailManager/Account.py Sun Apr 25 04:51:14 2010 +0000
@@ -94,7 +94,7 @@
self._chk_state()
if service not in (None, 'all', 'imap', 'pop3', 'sieve', 'smtp'):
raise AErr(_(u"Unknown service: '%s'.") % service, UNKNOWN_SERVICE)
- if dcvers > 11:
+ if dcvers > 0x10100f0:
sieve_col = 'sieve'
else:
sieve_col = 'managesieve'
@@ -230,7 +230,7 @@
ACCOUNT_MISSING_PASSWORD)
assert all(isinstance(service, bool) for service in (smtp, pop3, imap,
sieve))
- if dcvers > 11:
+ if dcvers > 0x10100f0:
sieve_col = 'sieve'
else:
sieve_col = 'managesieve'
@@ -291,7 +291,7 @@
`dovecot --version`.
"""
self._chk_state()
- if dcvers > 11:
+ if dcvers > 0x10100f0:
sieve_col = 'sieve'
else:
sieve_col = 'managesieve'