mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Remove some cruft.
This commit is contained in:
parent
4c2ec1b8fb
commit
9bb58d498c
1 changed files with 0 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue