Exemple #1
0
 def ui_setgroup_config(self, k, v):
     config['target'][k] = v
     config.save()
Exemple #2
0
    def __init__(self, *args, **kwargs):
        super(TargetsNode, self).__init__(*args, **kwargs)

        if not 'target' in config:
            config['target'] = {}
            config.save()