Author: andar

Revision: 5142

Log:
        Fix typo

Diff:
Modified: branches/1.1.0_RC/deluge/core/torrentmanager.py
===================================================================
--- branches/1.1.0_RC/deluge/core/torrentmanager.py     2009-04-23 12:36:59 UTC 
(rev 5141)
+++ branches/1.1.0_RC/deluge/core/torrentmanager.py     2009-04-23 18:16:38 UTC 
(rev 5142)
@@ -693,7 +693,7 @@
             return
         # Set the tracker status for the torrent
         if alert.message() != "Got peers from DHT":
-            tracker.set_tracker_status(_("Announce OK"))
+            torrent.set_tracker_status(_("Announce OK"))
 
         # Check to see if we got any peer information from the tracker
         if alert.handle.status().num_complete == -1 or \
@@ -735,7 +735,7 @@
         tracker_status = '%s: %s' % (_("Warning"), str(alert.message()))
         # Set the tracker status for the torrent
         torrent.set_tracker_status(tracker_status)
-       
+
     def on_alert_tracker_error(self, alert):
         log.debug("on_alert_tracker_error")
         try:
@@ -744,7 +744,7 @@
             return
         tracker_status = "%s: %s" % (_("Error"), alert.msg)
         torrent.set_tracker_status(tracker_status)
-  
+
     def on_alert_storage_moved(self, alert):
         log.debug("on_alert_storage_moved")
         try:



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