diff --git a/deluge/_libtorrent.py b/deluge/_libtorrent.py index 9e4826adb..385eed155 100644 --- a/deluge/_libtorrent.py +++ b/deluge/_libtorrent.py @@ -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)) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 2233bc4d6..890b64b1f 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -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,