[Patch] Add delete option to remove input data strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux