X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=code%2Fnetwork-generator%2Fnetwork_generation%2Fmodel%2Fpython%2Fo_ran_node.py;fp=code%2Fnetwork-generator%2Fnetwork_generation%2Fmodel%2Fpython%2Fo_ran_node.py;h=6a2b3cb4f434fc88952ac29aff7b401cf477bf66;hb=c55c6dd77a4a206ec792ab6ad1a4cc53b916a3e0;hp=e8471abadd7f56395aae19d4cef9cdce1c745e20;hpb=762eebc5c889ff1aa37a8db5d028088c15b10cf6;p=oam.git diff --git a/code/network-generator/network_generation/model/python/o_ran_node.py b/code/network-generator/network_generation/model/python/o_ran_node.py index e8471ab..6a2b3cb 100644 --- a/code/network-generator/network_generation/model/python/o_ran_node.py +++ b/code/network-generator/network_generation/model/python/o_ran_node.py @@ -178,12 +178,7 @@ class ORanNode(ORanObject): def to_topology_nodes(self) -> list[dict[str, Any]]: tps: list[dict[str, Any]] = [] for tp in self.termination_points(): - if ( - str(type(tp)) - == "" - ): - tps.append(tp.to_topology()) + tps.append(tp.to_topology()) result: list[dict[str, Any]] = [] result.append(