Remove some cruft.

This commit is contained in:
Andrew Resch 2008-02-12 21:48:58 +00:00
commit 9bb58d498c

View file

@ -152,13 +152,6 @@ class Torrent:
except:
pass
def get_save_info(self):
"""Returns the state of this torrent for saving to the session state"""
status = self.handle.status()
return (self.torrent_id, self.filename, self.compact, status.paused,
self.save_path, self.total_uploaded + status.total_payload_upload,
self.trackers)
def get_eta(self):
"""Returns the ETA in seconds for this torrent"""
if self.status == None: