Browse Source

TrivialFix: Remove logging import unused

This patch removes logging import unused in
dhcp_checker/cli.py
network_checker/daemon.py
network_checker/multicast/api.py
url_access_checker/cli.py

Change-Id: I99d38cd7d61b6ae12a4ef75aae1acf15b83732e8
Nguyen Hung Phuong 2 years ago
parent
commit
f9ea628dec
2 changed files with 0 additions and 5 deletions
  1. 0
    3
      network_checker/daemon.py
  2. 0
    2
      network_checker/multicast/api.py

+ 0
- 3
network_checker/daemon.py View File

@@ -14,13 +14,10 @@
14 14
 #    with this program; if not, write to the Free Software Foundation, Inc.,
15 15
 #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 16
 
17
-import logging
18 17
 import os
19 18
 
20 19
 import daemonize
21 20
 
22
-LOG = logging.getLogger(__name__)
23
-
24 21
 
25 22
 def run_server(server, config):
26 23
     daemon = daemonize.Daemonize(

+ 0
- 2
network_checker/multicast/api.py View File

@@ -14,14 +14,12 @@
14 14
 #    with this program; if not, write to the Free Software Foundation, Inc.,
15 15
 #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 16
 
17
-import logging
18 17
 import socket
19 18
 import struct
20 19
 
21 20
 import pcap
22 21
 import scapy.all as scapy
23 22
 
24
-LOG = logging.getLogger(__name__)
25 23
 
26 24
 # it is not defined in every python version
27 25
 SO_BINDTODEVICE = 25

Loading…
Cancel
Save