[UI] Remove old twisted DeprecationWarning code
This commit is contained in:
parent
9a051b6979
commit
a49b459a59
|
@ -22,10 +22,6 @@ except ImportError:
|
||||||
def setproctitle(title):
|
def setproctitle(title):
|
||||||
return
|
return
|
||||||
|
|
||||||
if 'dev' not in deluge.common.get_version():
|
|
||||||
import warnings
|
|
||||||
warnings.filterwarnings('ignore', category=DeprecationWarning, module='twisted')
|
|
||||||
|
|
||||||
|
|
||||||
class UI(object):
|
class UI(object):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue