[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] log.warn is deprecated, use log.warning



commit 16f1ae040709c9063c2f8b43f223b163290fc870
Author: Matt Traudt <sirmatt@xxxxxxx>
Date:   Wed Jun 20 09:35:15 2018 -0400

    log.warn is deprecated, use log.warning
---
 sbws/lib/resultdump.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbws/lib/resultdump.py b/sbws/lib/resultdump.py
index aab27e7..feadfdb 100644
--- a/sbws/lib/resultdump.py
+++ b/sbws/lib/resultdump.py
@@ -116,8 +116,8 @@ def trim_results_ip_changed(result_dict, on_changed_ipv4=False,
                 new_results_dict[fp] = results
         return new_results_dict
     if on_changed_ipv6 is True:
-        log.warn("Reseting bandwidth results when IPv6 changes,"
-                 " is not yet implemented.")
+        log.warning("Reseting bandwidth results when IPv6 changes,"
+                    " is not yet implemented.")
     return result_dict
 
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits