summaryrefslogtreecommitdiffstats
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-07 01:59:03 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-07 01:59:03 -0400
commit0703a82c800de826245e4bd6da6061a567c2422c (patch)
treedd5c82ef62de1c341a5e6bae9c0bde2b050c9eb9 /wallace/module_resources.py
parentd80f5c0fbb69f7b976275563e8b9b9521e9ca55e (diff)
downloadpykolab-0703a82c800de826245e4bd6da6061a567c2422c.tar.gz
Correctly return list of tuples from patched auth.search_entry_by_attribute() method
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 7c23995..f398120 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -809,7 +809,7 @@ def get_resource_owner(resource):
if not isinstance(collections, list):
collections = [ collections ]
- for collection in collections:
+ for dn,collection in collections:
if collection.has_key('owner') and isinstance(collection['owner'], list):
owners += collection['owner']
elif collection.has_key('owner'):