summaryrefslogtreecommitdiffstats
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-07 01:49:12 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-07 01:49:12 -0400
commitd80f5c0fbb69f7b976275563e8b9b9521e9ca55e (patch)
tree350263f9c20fb49f5aab665933293b9ad225e4bf /wallace/module_resources.py
parent951c796336c854474697754110b903c4ce90ccf5 (diff)
downloadpykolab-d80f5c0fbb69f7b976275563e8b9b9521e9ca55e.tar.gz
Move unit tests for pykolab.itip to a separate file; fix failing wallace module test
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 f398120..7c23995 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 dn,collection in collections:
+ for collection in collections:
if collection.has_key('owner') and isinstance(collection['owner'], list):
owners += collection['owner']
elif collection.has_key('owner'):