Skip to content
Snippets Groups Projects
Commit 995d43e6 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-309-fix-sst-syntax-errors' into 'master'

L2SS-309: Remove forced raise TypeError that was in for debug reasons (didnt i...

Closes L2SS-309

See merge request !84
parents 22e71702 f65fae9c
No related branches found
No related tags found
1 merge request!84L2SS-309: Remove forced raise TypeError that was in for debug reasons (didnt i...
...@@ -227,7 +227,6 @@ class ProtocolAttribute: ...@@ -227,7 +227,6 @@ class ProtocolAttribute:
try: try:
self.node.set_data_value(opcua.ua.uatypes.Variant(value=value, varianttype=self.ua_type)) self.node.set_data_value(opcua.ua.uatypes.Variant(value=value, varianttype=self.ua_type))
raise TypeError
except (TypeError, opcua.ua.uaerrors.BadTypeMismatch) as e: except (TypeError, opcua.ua.uaerrors.BadTypeMismatch) as e:
# A type conversion went wrong or there is a type mismatch. # A type conversion went wrong or there is a type mismatch.
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment