Fix pylint warnings in IPFIXUtil.py 51/2651/2
authorselias <samelias@cisco.com>
Tue, 6 Sep 2016 07:49:39 +0000 (09:49 +0200)
committerJan Gelety <jgelety@cisco.com>
Tue, 6 Sep 2016 15:33:13 +0000 (15:33 +0000)
 - replace "import *" with only the required scapy fields

Change-Id: If29e42fd2f54ca78ae05ddb4e004ee1a7506a3b1
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/python/IPFIXUtil.py

index 750c4d6..1b193f8 100644 (file)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.