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

This commit is contained in:
Damien Churchill 2009-07-28 07:39:30 +00:00
parent ba6f30dad1
commit 9e10012004
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class Core(component.Component):
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"])