summaryrefslogtreecommitdiffstats
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-19 18:30:31 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-19 18:30:31 -0500
commit054161ee8b09c58719e02f2189e8ac5112860751 (patch)
treebd9058f18d5782c43db0f7275e8b1f3252023fb1 /wallace/module_resources.py
parent66baddf10c099c8b0c287c267e58afeec387d520 (diff)
downloadpykolab-054161ee8b09c58719e02f2189e8ac5112860751.tar.gz
Verify reservation event is present in resource calendar
Diffstat (limited to 'wallace/module_resources.py')
-rw-r--r--wallace/module_resources.py2
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']: