maint: fix pylint warnings wrong-import-order

standard import "import logging" comes before "from gi.repository import GLib"

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-06-07 17:33:21 +02:00
parent bd6badbc40
commit b327191a20
12 changed files with 32 additions and 31 deletions

View File

@ -18,13 +18,13 @@
# MA 02110-1301 USA.
#
from gi.repository import GLib
from gi.repository import Gio
import logging
import os
import time
from gi.repository import GLib
from gi.repository import Gio
import libvirt

View File

@ -18,8 +18,6 @@
# MA 02110-1301 USA.
#
from gi.repository import GObject
import logging
import os
import threading
@ -27,6 +25,9 @@ import time
import traceback
import libvirt
from gi.repository import GObject
import virtinst
from virtinst import pollhelpers
from virtinst import support

View File

@ -19,11 +19,11 @@
# MA 02110-1301 USA.
#
import logging
from gi.repository import Gtk
from gi.repository import Gdk
import logging
from .baseclass import vmmGObject, vmmGObjectUI
from .details import DETAILS_PAGE_CONSOLE
from .serialcon import vmmSerialConsole

View File

@ -18,11 +18,11 @@
# MA 02110-1301 USA.
#
import logging
from gi.repository import Gtk
from gi.repository import Gdk
import logging
from virtinst import Interface, InterfaceProtocol
from . import uiutil

View File

@ -18,12 +18,12 @@
# MA 02110-1301 USA.
#
import logging
from gi.repository import Gdk
from gi.repository import GObject
from gi.repository import Gtk
import logging
from .baseclass import vmmGObjectUI
from .asyncjob import vmmAsyncJob
from . import uiutil

View File

@ -18,15 +18,15 @@
# MA 02110-1301 USA.
#
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import Pango
import os
import stat
import traceback
import logging
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import Pango
import virtinst
from virtinst import util

View File

@ -18,8 +18,6 @@
# MA 02110-1301 USA.
#
from gi.repository import GObject
import logging
import os
import time
@ -27,6 +25,8 @@ import threading
import libvirt
from gi.repository import GObject
from virtinst import DomainCapabilities
from virtinst import DomainSnapshot
from virtinst import Guest

View File

@ -18,17 +18,17 @@
# MA 02110-1301 USA.
#
from gi.repository import Gio
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
import logging
import re
import Queue
import threading
import traceback
from gi.repository import Gio
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
from . import packageutils
from .about import vmmAbout
from .baseclass import vmmGObject

View File

@ -17,11 +17,11 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA.
from gi.repository import Gtk
import logging
import traceback
from gi.repository import Gtk
from .baseclass import vmmGObject

View File

@ -18,10 +18,10 @@
# MA 02110-1301 USA.
#
from gi.repository import GObject
import logging
from gi.repository import GObject
from .baseclass import vmmGObject

View File

@ -18,11 +18,11 @@
# MA 02110-1301 USA.
#
from gi.repository import Gio
import logging
import time
from gi.repository import Gio
#############################
# PackageKit lookup helpers #

View File

@ -19,6 +19,9 @@
# MA 02110-1301 USA.
#
import logging
import socket
from gi.repository import GObject
from gi.repository import Gdk
@ -33,9 +36,6 @@ try:
except (ValueError, ImportError):
have_spice_gtk = False
import logging
import socket
from .baseclass import vmmGObject
from .sshtunnels import SSHTunnels