From 7cc7a7d0c2d7fa1e398fc2c14d77a6bf67d24eff Mon Sep 17 00:00:00 2001 From: selias Date: Tue, 6 Sep 2016 09:49:39 +0200 Subject: Fix pylint warnings in IPFIXUtil.py - replace "import *" with only the required scapy fields Change-Id: If29e42fd2f54ca78ae05ddb4e004ee1a7506a3b1 Signed-off-by: selias --- resources/libraries/python/IPFIXUtil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/libraries/python/IPFIXUtil.py b/resources/libraries/python/IPFIXUtil.py index 750c4d66ee..1b193f8325 100644 --- a/resources/libraries/python/IPFIXUtil.py +++ b/resources/libraries/python/IPFIXUtil.py @@ -21,7 +21,8 @@ with IPFIX packets. from scapy.all import Packet, bind_layers -from scapy.fields import * +from scapy.fields import ByteField, ShortField, IntField, LongField, IPField,\ + StrFixedLenField, FieldListField from scapy.layers.inet import UDP from scapy.layers.inet6 import IP6Field from scapy.contrib.ppi_geotag import UTCTimeField -- cgit 1.2.3-korg