From fd52d66c1e7c3a618e7588fb436b2b0380564091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20L=C3=B3pez?= Date: Sat, 17 Dec 2016 14:33:47 -0600 Subject: [PATCH] [REF] misc: Remove deprecated method --- pylint_odoo/misc.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pylint_odoo/misc.py b/pylint_odoo/misc.py index 611d4c06..05ac1291 100644 --- a/pylint_odoo/misc.py +++ b/pylint_odoo/misc.py @@ -26,16 +26,6 @@ def get_plugin_msgs(pylint_run_res): return all_plugin_msgs -def get_sum_fails(pylint_stats): - """Get a sum of all fails. - :param pylint_stats: Object returned by pylint.run method. - :return: Integer with sum of all errors found. - """ - return sum([ - pylint_stats['by_msg'][msg] - for msg in pylint_stats['by_msg']]) - - def join_node_args_kwargs(node): """Method to join args and keywords :param node: node to get args and keywords