[Core] Deprecate prioritize_first_last for prioritize_first_last_pieces

This commit is contained in:
Calum Lind 2016-11-22 19:55:04 +00:00
parent f3f380553a
commit 7283e8b668
1 changed files with 2 additions and 0 deletions

View File

@ -1006,6 +1006,8 @@ class Torrent(object):
'owner': lambda: self.options['owner'],
'paused': lambda: self.status.paused,
'prioritize_first_last': lambda: self.options['prioritize_first_last_pieces'],
# Deprecated: Use prioritize_first_last_pieces
'prioritize_first_last_pieces': lambda: self.options['prioritize_first_last_pieces'],
'sequential_download': lambda: self.options['sequential_download'],
'progress': self.get_progress,
'shared': lambda: self.options['shared'],