summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-30 00:18:19 +0100
committernfnty <git@nfnty.se>2017-01-30 01:16:20 +0100
commit185c022e9364316b66bbee352409533bdd4457dc (patch)
tree1e412dead126e34fc21fdba478d4364090815b71 /examples
parentc494d4680bef0320ea89304dbf62d24e559488dd (diff)
downloadranger-185c022e9364316b66bbee352409533bdd4457dc.tar.gz
linting: pylint: Remove most `disabled=protected-access`
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_new_macro.py4
1 files changed, 2 insertions, 2 deletions
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