mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-16 06:17:50 +00:00
[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…
x
Reference in New Issue
Block a user