Remove logging import

This commit is contained in:
Daniel Sheppard 2023-08-07 12:48:16 -05:00
parent b32ecb50fb
commit d2a851b3bc

View File

@ -49,11 +49,8 @@ def rebuild_paths(terminations):
""" """
Rebuild all CablePaths which traverse the specified nodes. Rebuild all CablePaths which traverse the specified nodes.
""" """
import logging
from dcim.models import CablePath from dcim.models import CablePath
logger = logging.getLogger('netbox.dcim.cable')
for obj in terminations: for obj in terminations:
cable_paths = CablePath.objects.filter(_nodes__contains=obj) cable_paths = CablePath.objects.filter(_nodes__contains=obj)