mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
minor code cleanup
This commit is contained in:
parent
7e86b41f92
commit
b66f313c2d
3 changed files with 1 additions and 7 deletions
|
@ -30,7 +30,6 @@ try:
|
|||
import dbus
|
||||
bus = dbus.SessionBus()
|
||||
dbus_fileman = bus.get_object("org.freedesktop.FileManager1", "/org/freedesktop/FileManager1")
|
||||
|
||||
except:
|
||||
dbus_fileman = None
|
||||
|
||||
|
|
|
@ -15,9 +15,7 @@ import warnings
|
|||
import gobject
|
||||
import gtk
|
||||
from twisted.internet import gtk2reactor
|
||||
|
||||
# Install the twisted reactor
|
||||
reactor = gtk2reactor.install()
|
||||
reactor = gtk2reactor.install() # Install twisted reactor, before any other modules import reactor.
|
||||
|
||||
import deluge.common
|
||||
import deluge.component as component
|
||||
|
|
|
@ -21,9 +21,6 @@ try:
|
|||
except ImportError:
|
||||
get_version = None
|
||||
|
||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
on_travis = os.environ.get('TRAVIS', None) == 'true'
|
||||
|
||||
# If your extensions are in another directory, add it here. If the directory
|
||||
# is relative to the documentation root, use os.path.abspath to make it
|
||||
# absolute, like shown here.
|
||||
|
|
Loading…
Add table
Reference in a new issue