[PATCH] folder/IMAP: fix typo with maxsize and maxage.
Haojun Bao
baohaojun at gmail.com
Mon Jun 27 02:13:35 BST 2011
Signed-off-by: Bao Haojun <baohaojun at gmail.com>
---
offlineimap/folder/IMAP.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py
index 8851b5b..f636d7f 100644
--- a/offlineimap/folder/IMAP.py
+++ b/offlineimap/folder/IMAP.py
@@ -137,7 +137,7 @@ class IMAPFolder(BaseFolder):
search_condition += date_search_str
if(maxsize != -1):
- if(maxage != 1): #There are two conditions - add a space
+ if(maxage != -1): #There are two conditions - add a space
search_condition += " "
search_condition += "SMALLER " + self.config.getdefault("Account " + self.accountname, "maxsize", -1)
--
1.7.5.4
More information about the OfflineIMAP-project
mailing list