From b32ecb50fb0a33faa73f994b1edaa8425ee7d76c Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Mon, 7 Aug 2023 12:47:31 -0500 Subject: [PATCH] Remove logging import --- netbox/dcim/models/cables.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/netbox/dcim/models/cables.py b/netbox/dcim/models/cables.py index a210ddd3a..c01a26dcc 100644 --- a/netbox/dcim/models/cables.py +++ b/netbox/dcim/models/cables.py @@ -478,11 +478,8 @@ class CablePath(models.Model): Cable or WirelessLink connects (interfaces, console ports, circuit termination, etc.). All terminations must be of the same type and must belong to the same parent object. """ - import logging from circuits.models import CircuitTermination - logger = logging.getLogger('netbox.dcim.cablepath') - if not terminations: return None