summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-07 11:28:44 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-07 11:28:44 -0400
commit5df811dc79af13c9619c7ed20a58ff2481da6850 (patch)
treef81c3c1fcfc1c51a06a29ced40426146c64fc2b1 /wallace
parent1d3d88ced320e151cf1b8ef53f15b4bee9e77a4e (diff)
downloadpykolab-5df811dc79af13c9619c7ed20a58ff2481da6850.tar.gz
Resource invitation policies require owner to be defined
Diffstat (limited to 'wallace')
-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 f38ae31..d1f792b 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -616,7 +616,7 @@ def accept_reservation_request(itip_event, resource, delegator=None, confirmed=F
owner = get_resource_owner(resource)
confirmation_required = False
- if not confirmed:
+ if not confirmed and owner:
invitationpolicy = get_resource_invitationpolicy(resource)
log.debug(_("Apply invitation policies %r") % (invitationpolicy), level=9)