[PATCH 04/10] btt_plot.py: Fix pylint: wrong-import-order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



C0411: standard import "import getopt, glob, os, sys" should be placed
before "import six"

Signed-off-by: Vincent Legoll <vincent.legoll@xxxxxxxxx>
---
 btt/btt_plot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/btt/btt_plot.py b/btt/btt_plot.py
index 9c6f207..b135206 100755
--- a/btt/btt_plot.py
+++ b/btt/btt_plot.py
@@ -57,6 +57,7 @@ Arguments:
 
 from __future__ import absolute_import
 from __future__ import print_function
+import getopt, glob, os, sys
 import six
 from six.moves import range
 __author__ = 'Alan D. Brunelle <alan.brunelle@xxxxxx>'
@@ -65,7 +66,6 @@ __author__ = 'Alan D. Brunelle <alan.brunelle@xxxxxx>'
 
 import matplotlib
 matplotlib.use('Agg')
-import getopt, glob, os, sys
 import matplotlib.pyplot as plt
 
 plot_size	= [10.9, 8.4]	# inches...
-- 
2.20.1




[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux