From 919e41f55e486d5df69f030e6c506ea41acf14d7 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 26 Apr 2016 23:05:33 +0100 Subject: [PATCH] [Lint] [GTKUI] Apply isort fix for fixed placement imports This solves the requirement for deluge imports to be placed after installing the twisted reactor. --- deluge/ui/gtkui/gtkui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 85a72c375..0d20908f7 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -6,8 +6,6 @@ # the additional special exception to link portions of this program with the OpenSSL library. # See LICENSE for more details. # -# We skip isorting this file as it want to move the gtk2reactor.install() below the imports -# isort:skip_file from __future__ import division @@ -30,6 +28,7 @@ except ReactorAlreadyInstalledError as ex: # Running unit tests so trial already installed a rector from twisted.internet import reactor +# isort:imports-firstparty import deluge.common import deluge.component as component from deluge.configmanager import ConfigManager, get_config_dir