From 7283e8b668a69b9b97e34345e15d24a9dd8781dc Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 22 Nov 2016 19:55:04 +0000 Subject: [PATCH] [Core] Deprecate prioritize_first_last for prioritize_first_last_pieces --- deluge/core/torrent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index cf5f74dbc..e80fc4876 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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'],