diff options
author | nfnty <git@nfnty.se> | 2016-12-23 10:49:25 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-17 05:59:02 +0100 |
commit | e52629c1c70f91ac117e488e04a73bf9e91ab8f9 (patch) | |
tree | c92b5de625f7e5dc57ee1374531d14ac60222717 /examples/plugin_hello_world.py | |
parent | 916c239014b95f02bf045f8de0488d7614126edf (diff) | |
download | ranger-e52629c1c70f91ac117e488e04a73bf9e91ab8f9.tar.gz |
linting: Python 2 compat: Import from `__future__`
Diffstat (limited to 'examples/plugin_hello_world.py')
-rw-r--r-- | examples/plugin_hello_world.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/plugin_hello_world.py b/examples/plugin_hello_world.py index dc4c3fee..b1451be1 100644 --- a/examples/plugin_hello_world.py +++ b/examples/plugin_hello_world.py @@ -3,6 +3,8 @@ # This is a sample plugin that displays "Hello World" in ranger's console after # it started. +from __future__ import (absolute_import, print_function) + # We are going to extend the hook "ranger.api.hook_ready", so first we need # to import ranger.api: import ranger.api |