Remove some cruft.

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

View file

@ -151,13 +151,6 @@ class Torrent:
self.state = TORRENT_STATE[state]
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"""