From 185c022e9364316b66bbee352409533bdd4457dc Mon Sep 17 00:00:00 2001 From: nfnty Date: Mon, 30 Jan 2017 00:18:19 +0100 Subject: linting: pylint: Remove most `disabled=protected-access` --- examples/plugin_new_macro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py index cb4d7413..ce46a558 100644 --- a/examples/plugin_new_macro.py +++ b/examples/plugin_new_macro.py @@ -11,7 +11,7 @@ import time import ranger.core.actions # Save the original macro function -GET_MACROS_OLD = ranger.core.actions.Actions._get_macros # pylint: disable=protected-access +GET_MACROS_OLD = ranger.core.actions.Actions.get_macros # Define a new macro function @@ -22,4 +22,4 @@ def get_macros_with_date(self): # Overwrite the old one -ranger.core.actions.Actions._get_macros = get_macros_with_date # pylint: disable=protected-access +ranger.core.actions.Actions.get_macros = get_macros_with_date -- cgit 1.4.1-2-gfad0