mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Replace temporary comment with proper one
This commit is contained in:
parent
886b59f400
commit
cafecb091d
@ -2191,7 +2191,8 @@ class Cable(ChangeLoggedModel):
|
|||||||
f"Incompatible termination types: {self.termination_a_type} and {self.termination_b_type}"
|
f"Incompatible termination types: {self.termination_a_type} and {self.termination_b_type}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check that a RearPort isn't connected to something silly
|
# Check that a RearPort with multiple positions isn't connected to an endpoint
|
||||||
|
# or a RearPort with a different number of positions.
|
||||||
for term_a, term_b in [
|
for term_a, term_b in [
|
||||||
(self.termination_a, self.termination_b),
|
(self.termination_a, self.termination_b),
|
||||||
(self.termination_b, self.termination_a)
|
(self.termination_b, self.termination_a)
|
||||||
|
Loading…
Reference in New Issue
Block a user