mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
[Core] Refactor default add torrent flags into a constant
This commit is contained in:
parent
915f2bf9e7
commit
b69ba02652
2 changed files with 12 additions and 6 deletions
|
@ -53,6 +53,9 @@ class Mock(object):
|
|||
else:
|
||||
return Mock()
|
||||
|
||||
def __or__(self, __):
|
||||
return Mock()
|
||||
|
||||
|
||||
MOCK_MODULES = ['deluge.ui.gtkui.gtkui', 'deluge._libtorrent',
|
||||
'libtorrent', 'psyco',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue