summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-30 12:38:54 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-30 12:38:54 -0400
commitea7e54b25cc67bf196f508eb704110ef125664fb (patch)
tree061cdd6b0fcdbb3b3f8834fe591c98994b4cdbb2
parentfd22df67ece31967a47a0b7b1d2c96b3c57f3444 (diff)
downloadthird_party-cobbler-ea7e54b25cc67bf196f508eb704110ef125664fb.tar.gz
third_party-cobbler-ea7e54b25cc67bf196f508eb704110ef125664fb.tar.xz
third_party-cobbler-ea7e54b25cc67bf196f508eb704110ef125664fb.zip
Fix bug when a report on a specific object is requested using the wrong
case.
-rw-r--r--cobbler/collection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/collection.py b/cobbler/collection.py
index 5e265fc..b1c3be4 100644
--- a/cobbler/collection.py
+++ b/cobbler/collection.py
@@ -62,7 +62,7 @@ class Collection(serializable.Serializable):
n1 = name.lower()
for key in self.listing.keys():
if key.lower() == n1:
- return self.listing[name]
+ return self.listing[key]
return None
def to_datastruct(self):