aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
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:33:13 +0000
commit7cc7a7d0c2d7fa1e398fc2c14d77a6bf67d24eff (patch)
tree84b04eb8fe213f047fcdeef6a7a60a7bb65f5780 /resources/libraries
parentd41060a43fc967d92a456213bb91855e346002ee (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>
Diffstat (limited to 'resources/libraries')
-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