remove try block

This commit is contained in:
Zach Tibbitts 2007-02-27 01:05:05 +00:00
parent 745872efde
commit 4f216a6f2e
1 changed files with 17 additions and 20 deletions

View File

@ -421,7 +421,6 @@ class Manager:
# ___ALL queuing code should be in this function, and ONLY here___
def apply_queue(self, efficient = True):
# Handle autoseeding - downqueue as needed
try:
if self.auto_seed_ratio != -1:
for unique_ID in self.unique_IDs:
if self.get_core_torrent_state(unique_ID, efficient)['is_seed']:
@ -441,8 +440,6 @@ class Manager:
elif not self.get_core_torrent_state(unique_ID, efficient)['is_paused'] and \
(index >= self.state.max_active_torrents or self.is_user_paused(unique_ID)):
deluge_core.pause(unique_ID)
except AttributeError:
pass
# Event handling