Skip to content

Commit

Permalink
reverted, same as master
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Farnham committed Oct 23, 2024
1 parent aefa8d4 commit 93f8b14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FrameworkInternals/DesignInspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def class_has_legit_device_parent(self, class_name):
return False # referenced from multiple parents, so far sure no unique parent
if has_objects_origins[0] == "Root":
return True # Root by definition has device logic
return self.class_has_device_logic(has_objects_origins[0])
if not self.class_has_device_logic(has_objects_origins[0]):
return False
return True

def get_parent(self, class_name):
"""Returns parent class name or None if device-logic parent is not applicable"""
Expand Down

0 comments on commit 93f8b14

Please sign in to comment.