2
0
Эх сурвалжийг харах

Fix what I assume was a typo in scripts/StepImporter/CppGenerator.py - get_hierarchy is not used internally, so it did not cause runtime errors in the tests. Tests should perhaps be revised to reflect this.

Charlie Gettys 6 жил өмнө
parent
commit
ae6c1e5ad8

+ 1 - 1
scripts/StepImporter/CppGenerator.py

@@ -218,7 +218,7 @@ def get_derived(e,schema):
     return res
 
 def get_hierarchy(e,schema):
-    return get_derived(e.schema)+[e.name]+get_base_classes(e,schema)
+    return get_derived(e, schema)+[e.name]+get_base_classes(e,schema)
 
 def sort_entity_list(schema):
     deps = []