summary refs log tree commit diff stats
path: root/examples/plugin_file_filter.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2016-12-23 10:49:25 +0100
committernfnty <git@nfnty.se>2017-01-17 05:59:02 +0100
commite52629c1c70f91ac117e488e04a73bf9e91ab8f9 (patch)
treec92b5de625f7e5dc57ee1374531d14ac60222717 /examples/plugin_file_filter.py
parent916c239014b95f02bf045f8de0488d7614126edf (diff)
downloadranger-e52629c1c70f91ac117e488e04a73bf9e91ab8f9.tar.gz
linting: Python 2 compat: Import from `__future__`
Diffstat (limited to 'examples/plugin_file_filter.py')
-rw-r--r--examples/plugin_file_filter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/plugin_file_filter.py b/examples/plugin_file_filter.py
index aece68f8..27afd551 100644
--- a/examples/plugin_file_filter.py
+++ b/examples/plugin_file_filter.py
@@ -4,6 +4,9 @@
 # the "show_hidden" option is activated.
 
 # Save the original filter function
+
+from __future__ import (absolute_import, print_function)
+
 import ranger.container.directory