Make Deluge dependent on libtorrent 0.14.9 or greater. This is due to an over-downloading bug in

libtorrent.
This commit is contained in:
andrew 2010-02-20 08:56:20 -08:00
parent 292428280d
commit 95b26efbb4

View file

@ -76,6 +76,11 @@ 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: