소스 검색

Remove dangling logging message used during development

Moritz Geist 2 년 전
부모
커밋
ced44832f7
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      netbox/dcim/svg/cables.py

+ 0 - 4
netbox/dcim/svg/cables.py

@@ -249,10 +249,6 @@ class CableTraceSVG:
         for parent in parent_object_nodes:
             parent_terms = [term for term in terminations if term.parent_object == parent.object]
 
-            if len(parent_terms) == 0:
-                self.logger.warn(f"No Parent Terminations? {parent.object.name}")
-                continue
-
             # Width and offset(position) for each termination box
             width = parent.box['width'] / len(parent_terms)
             offset_x = parent.box['x']