[et-mgmt-tools] [Patch] Add delete option to remove input data strings
David Brown
dmlb2000 at gmail.com
Thu Mar 13 17:03:39 UTC 2008
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)
More information about the et-mgmt-tools
mailing list