diff options
Diffstat (limited to 'cobbler/collection.py')
-rw-r--r-- | cobbler/collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/collection.py b/cobbler/collection.py index a6a3991..43ad068 100644 --- a/cobbler/collection.py +++ b/cobbler/collection.py @@ -97,7 +97,8 @@ class Collection(serializable.Serializable): """ if ref is None or not ref.is_valid(): - raise CX(_("invalid parameter")) + raise CX(_("insufficient or invalid arguments supplied")) + print "DEBUG: adding object %s" % ref.name if not with_copy: # don't need to run triggers, so add it already ... self.listing[ref.name.lower()] = ref @@ -126,7 +127,6 @@ class Collection(serializable.Serializable): parent = ref.get_parent() if parent != None: parent.children[ref.name] = ref - return True def _run_triggers(self,ref,globber): |