mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[Core] Remove old twisted DeprecationWarning code
This commit is contained in:
parent
36ecd5625a
commit
5ebe14e452
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue