From ad048a8d5b3f9da635f5c6ef1af7d93230ee2401 Mon Sep 17 00:00:00 2001 From: Massimo Date: Fri, 18 Jan 2013 09:20:30 -0600 Subject: [PATCH] fatch IMAP inbox size in dal, thanks Alan --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 45d8fe86..329ee513 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.18.09.13.47 +Version 2.4.1-alpha.2+timestamp.2013.01.18.09.19.59 diff --git a/gluon/dal.py b/gluon/dal.py index 72a135fe..b9e47944 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6033,7 +6033,7 @@ class IMAPAdapter(NoSQLAdapter): messages_set = messages_set[int(limitby[0]):int(limitby[1])] # keep the requests small for header/flags - if any([(field.name in ["content", + if any([(field.name in ["content", "size", "attachments", "email"]) for field in fields]): imap_fields = "(RFC822 FLAGS)"