diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-02-19 23:30:31 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-02-19 23:30:31 (GMT) |
commit | 054161ee8b09c58719e02f2189e8ac5112860751 (patch) | |
tree | bd9058f18d5782c43db0f7275e8b1f3252023fb1 /wallace/module_resources.py | |
parent | 66baddf10c099c8b0c287c267e58afeec387d520 (diff) | |
download | pykolab-054161ee8b09c58719e02f2189e8ac5112860751.tar.gz |
Verify reservation event is present in resource calendar
Diffstat (limited to 'wallace/module_resources.py')
-rw-r--r-- | wallace/module_resources.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py index 0dfe1df..e76df24 100644 --- a/wallace/module_resources.py +++ b/wallace/module_resources.py @@ -334,8 +334,6 @@ def read_resource_calendar(resource_rec, itip_events, imap): imap.imap.m.select(mailbox) typ, data = imap.imap.m.search(None, 'ALL') - num_messages = len(data[0].split()) - for num in data[0].split(): # For efficiency, makes the routine non-deterministic if resource_rec['conflict']: |