summaryrefslogtreecommitdiffstats
path: root/cobbler/collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/collection.py')
-rw-r--r--cobbler/collection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/collection.py b/cobbler/collection.py
index 16ad9ac..c113481 100644
--- a/cobbler/collection.py
+++ b/cobbler/collection.py
@@ -58,6 +58,8 @@ class Collection(serializable.Serializable):
"""
Return first object in the collection that maches all item='value'
pairs passed, else return None if no objects can be found.
+ When return_list is set, can also return a list. Empty list
+ would be returned instead of None in that case.
"""
matches = []