misc: fix python sonarcloud BLOCKER level issues

Fix of the top 11 python issues flagged as BLOCKER.

Ticket: VPP-1856
Type: fix

Change-Id: Icf4691e62f4a69d6ee196b6d6e2ab52d961b5c76
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2020-04-03 12:18:40 -04:00
committed by Neale Ranns
parent c17d6cfaf4
commit 582eac5c30
9 changed files with 66 additions and 60 deletions

View File

@ -1,7 +1,8 @@
import os
import time
import socket
from socket import inet_pton, inet_ntop
import struct
import time
from traceback import format_exc, format_stack
import scapy.compat