From 9e100120040e88e519e0f6ae49e1d76fbdd21e40 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 28 Jul 2009 07:39:30 +0000 Subject: [PATCH] make the deprecation warning on get_stats say that its coming from get_stats --- deluge/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index 622c4706d..60175eee6 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -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"])