14405 review changes

This commit is contained in:
Arthur 2024-02-20 11:08:46 -08:00
parent ad1366d90d
commit 695d83378c

View File

@ -360,15 +360,9 @@ class CableTerminationTable(NetBoxTable):
)
def value_link_peer(self, value):
string = ""
for termination in value:
if value and not str:
string += " "
if termination.parent_object:
string += f"{termination.parent_object} > "
string += str(termination)
return string
return ', '.join([
f"{termination.parent_object} > {termination}" for termination in value
])
class PathEndpointTable(CableTerminationTable):