Module: deluge Branch: master Commit: 3f3f7bb5b4e64f2a12ac04173021b80ba9448a74
Author: Andrew Resch <[email protected]> Date: Tue Apr 13 10:07:13 2010 -0700 Fix #1225 by reverting change to fix #1180 since that isn't really considered a bug and just causes more issues --- deluge/plugins/label/label/core.py | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/deluge/plugins/label/label/core.py b/deluge/plugins/label/label/core.py index 1bd52b8..34447cd 100644 --- a/deluge/plugins/label/label/core.py +++ b/deluge/plugins/label/label/core.py @@ -210,23 +210,12 @@ class Core(CorePluginBase): torrent.set_max_connections(options["max_connections"]) torrent.set_max_upload_slots(options["max_upload_slots"]) torrent.set_prioritize_first_last(options["prioritize_first_last"]) - else: - torrent.set_max_download_speed(-1) - torrent.set_max_upload_speed(-1) - torrent.set_max_connections(-1) - torrent.set_max_upload_slots(-1) - torrent.set_prioritize_first_last(False) if options["apply_queue"]: torrent.set_auto_managed(options['is_auto_managed']) torrent.set_stop_at_ratio(options['stop_at_ratio']) torrent.set_stop_ratio(options['stop_ratio']) torrent.set_remove_at_ratio(options['remove_at_ratio']) - else: - torrent.set_auto_managed(True) - torrent.set_stop_at_ratio(False) - torrent.set_stop_ratio(False) - torrent.set_remove_at_ratio(False) if options["apply_move_completed"]: torrent.set_options( -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
