diff options
Diffstat (limited to 'cobbler/collection_systems.py')
-rw-r--r-- | cobbler/collection_systems.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/collection_systems.py b/cobbler/collection_systems.py index 5d201bc..3147a67 100644 --- a/cobbler/collection_systems.py +++ b/cobbler/collection_systems.py @@ -8,6 +8,7 @@ Michael DeHaan <mdehaan@redhat.com> import item_system as system import utils import collection +from cobbler_exception import CobblerException #-------------------------------------------- @@ -32,6 +33,5 @@ class Systems(collection.Collection): if self.find(name): del self.listing[name] return True - utils.set_error("delete_nothing") - return False + raise CobblerException("delete_nothing") |