From e79c695732ed8d279b3185a9d62d3110d3de5a69 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Mon, 3 Dec 2012 01:18:25 -0500 Subject: [PATCH] Remove some backwards compatibility code for libtorrent 0.14. --- deluge/core/torrent.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index f90a7b5e7..44bea6c5c 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -177,13 +177,7 @@ class Torrent(object): # Tracker list self.trackers = [] # Create a list of trackers - for value in self.handle.trackers(): - if lt.version_minor < 15: - tracker = {} - tracker["url"] = value.url - tracker["tier"] = value.tier - else: - tracker = value + for tracker in self.handle.trackers(): self.trackers.append(tracker) # Various torrent options