[et-mgmt-tools] [Patch] Add delete option to remove input data strings
Michael DeHaan
mdehaan at redhat.com
Thu Mar 13 18:12:27 UTC 2008
David Brown wrote:
> Patch adds a special string "delete" that will remove the kopts ksmeta
> or anything else that uses utils.input_string_or_hash
>
> Let me know what you think.
>
> Thanks,
> - David Brown
>
> --- utils.py 2008-03-13 09:59:10.000000000 -0700
> +++ utils.py 2008-03-13 09:58:42.000000000 -0700
> @@ -240,7 +240,7 @@
> 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)
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
Applied to devel branch for Cobbler 0.9/1.0.
Thanks very much!
--Michael
More information about the et-mgmt-tools
mailing list