diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-03-13 14:11:17 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-03-13 14:11:17 -0400 |
commit | 0268b337a80d6e910166d444be49b9be328328d0 (patch) | |
tree | 6ad57f28872933e74e7266d3ac05f0530dcabe64 /cobbler/utils.py | |
parent | dcdeba285768a48b56121bbdde0f628ba6793dae (diff) | |
download | third_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.py | 2 |
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) |