make controlled_by configuration work properly
- secnode.py: initialize all modules before creating description - fixes in ctrlby.py
This commit is contained in:
@@ -58,6 +58,7 @@ class WrapControlledBy:
|
||||
prev_enum = self.parameters['controlled_by'].datatype.export_datatype()['members']
|
||||
# add enum member, using autoincrement feature of Enum
|
||||
self.parameters['controlled_by'].datatype = EnumType(Enum(prev_enum, **{name: None}))
|
||||
self.log.info('enumtype %r', self.parameters['controlled_by'].datatype)
|
||||
|
||||
def write_controlled_by(self, modulename):
|
||||
result = modulename
|
||||
|
||||
Reference in New Issue
Block a user