summaryrefslogtreecommitdiffstats
path: root/cobbler/collection_systems.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-22 12:38:25 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-06-22 12:38:25 -0400
commit87116be1073d8a3868fe0e57f5735f094a548130 (patch)
tree65068f4762eeef35ee1a2c78d96f756d158285c1 /cobbler/collection_systems.py
parent62b2765302033a3a5c94897296edd27c71382a71 (diff)
downloadthird_party-cobbler-87116be1073d8a3868fe0e57f5735f094a548130.tar.gz
third_party-cobbler-87116be1073d8a3868fe0e57f5735f094a548130.tar.xz
third_party-cobbler-87116be1073d8a3868fe0e57f5735f094a548130.zip
Lowercase input on removal (this should really be using the find() method.
Diffstat (limited to 'cobbler/collection_systems.py')
-rw-r--r--cobbler/collection_systems.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/collection_systems.py b/cobbler/collection_systems.py
index 952fdba..5ffcea5 100644
--- a/cobbler/collection_systems.py
+++ b/cobbler/collection_systems.py
@@ -48,6 +48,7 @@ class Systems(collection.Collection):
"""
Remove element named 'name' from the collection
"""
+ name = name.lower()
if self.find(name):
if with_delete:
self._run_triggers(self.listing[name], "/var/lib/cobbler/triggers/delete/system/pre/*")