mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
Remove logging import
This commit is contained in:
parent
b32ecb50fb
commit
d2a851b3bc
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user