mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +00:00
[Lint] [GTKUI] Apply isort fix for fixed placement imports
This solves the requirement for deluge imports to be placed after installing the twisted reactor.
This commit is contained in:
parent
616523c732
commit
919e41f55e
@ -6,8 +6,6 @@
|
|||||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||||
# See LICENSE for more details.
|
# 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
|
from __future__ import division
|
||||||
|
|
||||||
@ -30,6 +28,7 @@ except ReactorAlreadyInstalledError as ex:
|
|||||||
# Running unit tests so trial already installed a rector
|
# Running unit tests so trial already installed a rector
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
|
|
||||||
|
# isort:imports-firstparty
|
||||||
import deluge.common
|
import deluge.common
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
from deluge.configmanager import ConfigManager, get_config_dir
|
from deluge.configmanager import ConfigManager, get_config_dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user