Author: damoxc

Revision: 5555

Log:
        make the deprecation warning on get_stats say that its coming from 
get_stats

Diff:
Modified: trunk/deluge/core/core.py
===================================================================
--- trunk/deluge/core/core.py   2009-07-26 03:26:18 UTC (rev 5554)
+++ trunk/deluge/core/core.py   2009-07-28 07:39:30 UTC (rev 5555)
@@ -322,7 +322,7 @@
         Deprecated: please use get_session_status()
         
         """
-        warnings.warn("Use get_session_status()", DeprecationWarning)
+        warnings.warn("Use get_session_status() instead of get_stats()", 
DeprecationWarning)
         stats = self.get_session_status(["payload_download_rate", 
"payload_upload_rate",
             "dht_nodes", "has_incoming_connections", "download_rate", 
"upload_rate"])
 



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