mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
Update to 1.1.2 libtorrent requirement
This commit is contained in:
parent
5348465e60
commit
35c78eee41
@ -24,12 +24,7 @@ try:
|
||||
except ImportError:
|
||||
import libtorrent as lt
|
||||
|
||||
REQUIRED_VERSION = '1.1.1.0'
|
||||
|
||||
# XXX: Remove and update required when 1.1.2 is released!
|
||||
if not hasattr(lt, 'generate_fingerprint'):
|
||||
raise ImportError('Deluge %s requires lastest github code from libtorrent RC_1_1 branch.\n'
|
||||
'Ubuntu users can add the develop PPA: ppa:deluge-team/develop' % get_version())
|
||||
REQUIRED_VERSION = '1.1.2.0'
|
||||
|
||||
if VersionSplit(lt.__version__) < VersionSplit(REQUIRED_VERSION):
|
||||
raise ImportError('Deluge %s requires libtorrent >= %s' % (get_version(), REQUIRED_VERSION))
|
||||
|
@ -575,11 +575,6 @@ class TorrentManager(component.Component):
|
||||
else:
|
||||
paused = False
|
||||
|
||||
# XXX: Temporary workaround for critical bug with RC_1_1 lt code.
|
||||
# remove this code when lt 1.2 is released.
|
||||
for tracker in torrent.trackers:
|
||||
tracker.pop('last_error', None)
|
||||
|
||||
torrent_state = TorrentState(
|
||||
torrent.torrent_id,
|
||||
torrent.filename,
|
||||
|
Loading…
x
Reference in New Issue
Block a user