Author: andar

Revision: 4915

Log:
        Fix #855 force a resume on a torrent if a 'Force Recheck' is initiated

Diff:
Modified: branches/1.1.0_RC/ChangeLog
===================================================================
--- branches/1.1.0_RC/ChangeLog 2009-03-21 18:07:19 UTC (rev 4914)
+++ branches/1.1.0_RC/ChangeLog 2009-03-21 18:45:47 UTC (rev 4915)
@@ -1,6 +1,7 @@
 === Deluge 1.1.6 - (In Development) ===
 ==== Core ====
   * Fix udp trackers being classified as DHT source
+  * Fix #855 force a resume on a torrent if a 'Force Recheck' is initiated
 
 === Deluge 1.1.5 - (16 March 2009) ===
 ==== Core ====

Modified: branches/1.1.0_RC/deluge/core/torrent.py
===================================================================
--- branches/1.1.0_RC/deluge/core/torrent.py    2009-03-21 18:07:19 UTC (rev 
4914)
+++ branches/1.1.0_RC/deluge/core/torrent.py    2009-03-21 18:45:47 UTC (rev 
4915)
@@ -841,6 +841,7 @@
         """Forces a recheck of the torrents pieces"""
         try:
             self.handle.force_recheck()
+            self.handle.resume()
         except Exception, e:
             log.debug("Unable to force recheck: %s", e)
             return False

Modified: trunk/deluge/core/torrent.py
===================================================================
--- trunk/deluge/core/torrent.py        2009-03-21 18:07:19 UTC (rev 4914)
+++ trunk/deluge/core/torrent.py        2009-03-21 18:45:47 UTC (rev 4915)
@@ -838,6 +838,7 @@
         """Forces a recheck of the torrents pieces"""
         try:
             self.handle.force_recheck()
+            self.handle.resume()
         except Exception, e:
             log.debug("Unable to force recheck: %s", e)
             return False



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to