core: fix Dispatcher and SECNode opts handling
both tried to consume everything before, also making the check for unknown options afterwards pointless Change-Id: I7e44c088163e0b99ac509a2c0f757270807d97ab Fixes: #4912 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34837 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Georg Brandl <g.brandl@fz-juelich.de>
This commit is contained in:
@@ -40,8 +40,6 @@ class SecNode:
|
||||
def __init__(self, name, logger, options, srv):
|
||||
self.equipment_id = options.pop('equipment_id', name)
|
||||
self.nodeprops = {}
|
||||
for k in list(options):
|
||||
self.nodeprops[k] = options.pop(k)
|
||||
# map ALL modulename -> moduleobj
|
||||
self.modules = {}
|
||||
# list of EXPORTED modules
|
||||
|
||||
Reference in New Issue
Block a user