summaryrefslogtreecommitdiffstats
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-06 12:44:37 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-06 12:44:37 -0400
commit41a8d8edc3938880b363ccd0cc688f73f4e37867 (patch)
tree151830d9e10d15a1fc0ef724c4255e24ecf30b4d /wallace/module_resources.py
parent9febaa9596bff65c25f81688283fbf5940a4bdef (diff)
downloadpykolab-41a8d8edc3938880b363ccd0cc688f73f4e37867.tar.gz
Add test for owner confirmation on (delegated) resource collection bookings
Diffstat (limited to 'wallace/module_resources.py')
-rw-r--r--wallace/module_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py
index c0983ca..ae6cd06 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -314,7 +314,7 @@ def execute(*args, **kw):
continue
# ignore updates and cancellations to resource collections who already delegated the event
- if receiving_attendee.get_delegated_to().size() > 0 or receiving_attendee.get_role() == kolabformat.NonParticipant:
+ if len(receiving_attendee.get_delegated_to()) > 0 or receiving_attendee.get_role() == kolabformat.NonParticipant:
done = True
log.debug(_("Recipient %r is non-participant, ignoring message") % (receiving_resource['mail']), level=8)