change interfaces_class to interface_classes
according to the newset SECoP syntax accept both namings on the client side Change-Id: I23abfa163d189044d997b715c912359158c16e42 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21478 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
@ -135,10 +135,7 @@ class NodeCtrl(QWidget):
|
||||
row = 0
|
||||
for modname in sorted(self._node.modules):
|
||||
modprops = self._node.getModuleProperties(modname)
|
||||
if 'interface_class' in modprops:
|
||||
interfaces = modprops['interface_class']
|
||||
else:
|
||||
interfaces = modprops.get('interfaces', '')
|
||||
interfaces = modprops.get('interface_classes', '')
|
||||
description = modprops.get('description', '!!! missing description !!!')
|
||||
|
||||
# fallback: allow (now) invalid 'Driveable'
|
||||
|
Reference in New Issue
Block a user