[Core] Remove old twisted DeprecationWarning code
This commit is contained in:
parent
36ecd5625a
commit
5ebe14e452
|
@ -57,10 +57,6 @@ def start_daemon(skip_start=False):
|
||||||
"""
|
"""
|
||||||
deluge.common.setup_translations()
|
deluge.common.setup_translations()
|
||||||
|
|
||||||
if 'dev' not in deluge.common.get_version():
|
|
||||||
import warnings
|
|
||||||
warnings.filterwarnings('ignore', category=DeprecationWarning, module='twisted')
|
|
||||||
|
|
||||||
# Setup the argument parser
|
# Setup the argument parser
|
||||||
parser = BaseArgParser()
|
parser = BaseArgParser()
|
||||||
add_daemon_options(parser)
|
add_daemon_options(parser)
|
||||||
|
|
Loading…
Reference in New Issue