mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Remove some cruft.
This commit is contained in:
parent
4c2ec1b8fb
commit
9bb58d498c
1 changed files with 0 additions and 7 deletions
|
@ -151,13 +151,6 @@ class Torrent:
|
||||||
self.state = TORRENT_STATE[state]
|
self.state = TORRENT_STATE[state]
|
||||||
except:
|
except:
|
||||||
pass
|
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):
|
def get_eta(self):
|
||||||
"""Returns the ETA in seconds for this torrent"""
|
"""Returns the ETA in seconds for this torrent"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue