summaryrefslogtreecommitdiffstats
path: root/cobbler/utils.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-03-13 14:11:17 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-03-13 14:11:17 -0400
commit0268b337a80d6e910166d444be49b9be328328d0 (patch)
tree6ad57f28872933e74e7266d3ac05f0530dcabe64 /cobbler/utils.py
parentdcdeba285768a48b56121bbdde0f628ba6793dae (diff)
downloadthird_party-cobbler-0268b337a80d6e910166d444be49b9be328328d0.tar.gz
third_party-cobbler-0268b337a80d6e910166d444be49b9be328328d0.tar.xz
third_party-cobbler-0268b337a80d6e910166d444be49b9be328328d0.zip
Added patch to allow kopts/ksmeta to be cleared with --kopts=delete on the
command line.
Diffstat (limited to 'cobbler/utils.py')
-rw-r--r--cobbler/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 069d440..c6a6154 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -240,7 +240,7 @@ def input_string_or_hash(options,delim=","):
if options == "<<inherit>>":
options = {}
- if options is None:
+ if options is None or options == "delete":
return (True, {})
elif type(options) == list:
raise CX(_("No idea what to do with list: %s") % options)