From 1da79ceb75f2f1f72fb40e7da6b69e730b165b06 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 22 Feb 2010 11:56:05 +0000 Subject: [PATCH] change the way that the minimum LT version is specified --- deluge/_libtorrent.py | 4 ++-- deluge/core/core.py | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/deluge/_libtorrent.py b/deluge/_libtorrent.py index 8c0363b78..ab782d67a 100644 --- a/deluge/_libtorrent.py +++ b/deluge/_libtorrent.py @@ -45,7 +45,7 @@ supports. """ -REQUIRED_VERSION = "0.14.5.0" +REQUIRED_VERSION = "0.14.9.0" def check_version(LT): from deluge.common import VersionSplit @@ -57,4 +57,4 @@ try: check_version(lt) except ImportError: import libtorrent as lt - check_version(lt) \ No newline at end of file + check_version(lt) diff --git a/deluge/core/core.py b/deluge/core/core.py index ae89d82a0..bd767f14e 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -76,11 +76,6 @@ class Core(component.Component): # Start the libtorrent session log.info("Starting libtorrent %s session..", lt.version) - # We must depend on libtorrent >= 0.14.9 due to over-downloading bug - if lt.version < "0.14.9": - log.error("This version of Deluge requires libtorrent >= 0.14.9.") - sys.exit(1) - # Create the client fingerprint version = [int(value.split("-")[0]) for value in deluge.common.get_version().split(".")] while len(version) < 4: