Github user tliron commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/191#discussion_r137052935
--- Diff:
extensions/aria_extension_tosca/simple_v1_0/modeling/data_types.py ---
@@ -159,10 +159,6 @@ def get_data_type(context, presentation, field_name,
allow_none=False):
else:
return str
- # Make sure not derived from self
- if type_name == presentation._name:
--- End diff --
The previous code was broken and threw an exception when reaching those
lines. I found the bug by accident while working on this so just decided to do
a spot fix.
---