[Tests] Remove debug traceback
This commit is contained in:
parent
6973f96f8c
commit
6cf13d112b
|
@ -21,15 +21,11 @@ from .basetest import BaseTestCase
|
|||
libs_available = True
|
||||
# Allow running other tests without GTKUI dependencies available
|
||||
try:
|
||||
from deluge.ui.gtkui.mainwindow import MainWindow
|
||||
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
|
||||
from deluge.ui.gtkui.files_tab import FilesTab
|
||||
|
||||
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
|
||||
from deluge.ui.gtkui.mainwindow import MainWindow
|
||||
except ImportError as err:
|
||||
libs_available = False
|
||||
import traceback
|
||||
|
||||
traceback.print_exc()
|
||||
|
||||
setup_translations()
|
||||
|
||||
|
|
|
@ -26,18 +26,14 @@ try:
|
|||
except ImportError as err:
|
||||
libs_available = False
|
||||
TYPE_UINT64 = 'Whatever'
|
||||
import traceback
|
||||
|
||||
traceback.print_exc()
|
||||
else:
|
||||
libs_available = True
|
||||
from deluge.ui.gtkui.mainwindow import (
|
||||
MainWindow,
|
||||
) # pylint: disable=ungrouped-imports
|
||||
# pylint: disable=ungrouped-imports
|
||||
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
|
||||
from deluge.ui.gtkui.mainwindow import MainWindow
|
||||
from deluge.ui.gtkui.menubar import MenuBar
|
||||
from deluge.ui.gtkui.torrentdetails import TorrentDetails
|
||||
from deluge.ui.gtkui.torrentview import TorrentView
|
||||
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
|
||||
|
||||
setup_translations()
|
||||
|
||||
|
|
Loading…
Reference in New Issue