summaryrefslogtreecommitdiffstats
path: root/cobbler/collection_images.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/collection_images.py')
-rw-r--r--cobbler/collection_images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/collection_images.py b/cobbler/collection_images.py
index 5b3a6b51..12cd5c60 100644
--- a/cobbler/collection_images.py
+++ b/cobbler/collection_images.py
@@ -30,7 +30,7 @@ class Images(collection.Collection):
def factory_produce(self,config,seed_data):
return image.Image(config).from_datastruct(seed_data)
- def remove(self,name,with_delete=True,with_sync=True,with_triggers=True):
+ def remove(self,name,with_delete=True,with_sync=True,with_triggers=True,recursive=True):
"""
Remove element named 'name' from the collection
"""
@@ -56,5 +56,5 @@ class Images(collection.Collection):
if with_triggers:
self._run_triggers(obj, "/var/lib/cobbler/triggers/delete/image/post/*")
return True
- raise CX(_("cannot delete an object that does not exist: %s") % name)
+ raise CX(_("cannot delete an object that does not exist: %s") % name)