summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-21 14:21:41 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-21 14:21:41 -0400
commit8bcdf9fc47e9cbc90c3a04a5a552608971d7db62 (patch)
treef6f0bd77314e525d0ee97a97a702c610fc5b24f5 /cobbler
parent5086be11c1f32056e97f356bb7675bbe060b21ad (diff)
parent346f63424b0a18b9aae2ed37d0f453b84a17e271 (diff)
downloadthird_party-cobbler-8bcdf9fc47e9cbc90c3a04a5a552608971d7db62.tar.gz
third_party-cobbler-8bcdf9fc47e9cbc90c3a04a5a552608971d7db62.tar.xz
third_party-cobbler-8bcdf9fc47e9cbc90c3a04a5a552608971d7db62.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/cobbler
Diffstat (limited to 'cobbler')
-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 = []