Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
872e0d6
)
Fix pylint warnings in IPFIXUtil.py
71/2671/1
author
selias
<
[email protected]
>
Tue, 6 Sep 2016 07:49:39 +0000
(09:49 +0200)
committer
Jan Gelety
<
[email protected]
>
Tue, 6 Sep 2016 15:34:42 +0000
(15:34 +0000)
- replace "import *" with only the required scapy fields
Change-Id: If29e42fd2f54ca78ae05ddb4e004ee1a7506a3b1
Signed-off-by: selias <
[email protected]
>
(cherry picked from commit
7cc7a7d0c2d7fa1e398fc2c14d77a6bf67d24eff
)
resources/libraries/python/IPFIXUtil.py
patch
|
blob
|
history
diff --git
a/resources/libraries/python/IPFIXUtil.py
b/resources/libraries/python/IPFIXUtil.py
index
750c4d6
..
1b193f8
100644
(file)
--- 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