Example #1
0
 def variables_show_vars(self,dv=None):
     if not dv:
         dv = DataVarsCore()
         dv.importCore()
         dv.flIniFile()
     dv.addGroup(None,
         normal=('cl_variable_filter','cl_variable_show'),
         next_label=_("Show"))
     return dv
Example #2
0
 def variables_vars(self,dv=None):
     if not dv:
         dv = DataVarsCore()
         dv.importCore()
         dv.flIniFile()
     dv.addGroup(None,
         normal=('cl_variable_data',),
         next_label=_("Save"))
     return dv
Example #3
0
 def core_patch_vars(self, dv=None):
     if not dv:
         dv = DataVarsCore()
         dv.importCore()
         dv.flIniFile()
         dv.Set("cl_action", "patch", True)
         dv.Set("cl_dispatch_conf", "usenew", True)
     dv.addGroup(
         None,
         normal=("cl_core_pkg_name",),
         expert=(
             "cl_core_pkg_category",
             "cl_core_pkg_version",
             "cl_core_pkg_slot",
             "cl_core_pkg_path",
             "cl_templates_locate",
             "cl_verbose_set",
         ),
         next_label=_("Patch"),
     )
     return dv