[virt-tools-list] [virt-manager PATCH 2/2] pylint: change import order
Chen Hanxiao
chen_han_xiao at 126.com
Sat Oct 21 06:50:00 UTC 2017
From: Chen Hanxiao <chenhanxiao at gmail.com>
pylint complain:
standard import "import tty" should be
placed before "import termios" (wrong-import-order)
Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
virtManager/serialcon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virtManager/serialcon.py b/virtManager/serialcon.py
index 7caf6db4..4148e151 100644
--- a/virtManager/serialcon.py
+++ b/virtManager/serialcon.py
@@ -19,11 +19,11 @@
#
import os
-import termios
import tty
import pty
import fcntl
import logging
+import termios
import gi
from gi.repository import Gdk
--
2.13.5
More information about the virt-tools-list
mailing list