summary refs log tree commit diff stats
path: root/examples/plugin_hello_world.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-21 22:30:59 +0100
committernfnty <git@nfnty.se>2017-01-21 22:30:59 +0100
commit9f5eeff72146d3c5178d66b4879af7a6abfc22f1 (patch)
treebde5fa9ffde17e76700882ab489297c1855c2ad5 /examples/plugin_hello_world.py
parent1c90e610de6591e8052a1056c775219b5e767002 (diff)
downloadranger-9f5eeff72146d3c5178d66b4879af7a6abfc22f1.tar.gz
Python 3 division: Import `division` from `__future__`
Diffstat (limited to 'examples/plugin_hello_world.py')
-rw-r--r--examples/plugin_hello_world.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugin_hello_world.py b/examples/plugin_hello_world.py
index b1451be1..be21d777 100644
--- a/examples/plugin_hello_world.py
+++ b/examples/plugin_hello_world.py
@@ -3,7 +3,7 @@
 # This is a sample plugin that displays "Hello World" in ranger's console after
 # it started.
 
-from __future__ import (absolute_import, print_function)
+from __future__ import (absolute_import, division, print_function)
 
 # We are going to extend the hook "ranger.api.hook_ready", so first we need
 # to import ranger.api: