aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-09-06 09:49:39 +0200
committerJan Gelety <jgelety@cisco.com>2016-09-06 15:34:42 +0000
commite51f9bb5612409783880a5b71d1ae6bfed609b33 (patch)
tree801f276ceff43f5f6705e1f3efcb00f4e254427f
parent872e0d6cb093b92b5b594f329be173ebeac3047a (diff)
Fix pylint warnings in IPFIXUtil.py
- replace "import *" with only the required scapy fields Change-Id: If29e42fd2f54ca78ae05ddb4e004ee1a7506a3b1 Signed-off-by: selias <samelias@cisco.com> (cherry picked from commit 7cc7a7d0c2d7fa1e398fc2c14d77a6bf67d24eff)
-rw-r--r--resources/libraries/python/IPFIXUtil.py3
1 files changed, 2 insertions, 1 deletions
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