Просмотр исходного кода

Replace temporary comment with proper one

Sander Steffann 5 лет назад
Родитель
Сommit
cafecb091d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      netbox/dcim/models/__init__.py

+ 2 - 1
netbox/dcim/models/__init__.py

@@ -2191,7 +2191,8 @@ class Cable(ChangeLoggedModel):
                 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 [
             (self.termination_a, self.termination_b),
             (self.termination_b, self.termination_a)