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): def value_link_peer(self, value):
string = "" return ', '.join([
for termination in value: f"{termination.parent_object} > {termination}" for termination in value
if value and not str: ])
string += " "
if termination.parent_object:
string += f"{termination.parent_object} > "
string += str(termination)
return string
class PathEndpointTable(CableTerminationTable): class PathEndpointTable(CableTerminationTable):