diff options
author | nfnty <git@nfnty.se> | 2017-01-21 22:56:06 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-21 22:56:06 +0100 |
commit | e53369588ee44a9fc4ec75228dc041448aa778d4 (patch) | |
tree | 5cddf5caef27797e921a180d3aeaf2ce880f08bf /examples | |
parent | 1c90e610de6591e8052a1056c775219b5e767002 (diff) | |
parent | 4fc54db1bcb243504cdc41cee3885342b94cb13a (diff) | |
download | ranger-e53369588ee44a9fc4ec75228dc041448aa778d4.tar.gz |
Merge branch 'division'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugin_chmod_keybindings.py | 2 | ||||
-rw-r--r-- | examples/plugin_file_filter.py | 2 | ||||
-rw-r--r-- | examples/plugin_hello_world.py | 2 | ||||
-rw-r--r-- | examples/plugin_ipc.py | 2 | ||||
-rw-r--r-- | examples/plugin_linemode.py | 2 | ||||
-rw-r--r-- | examples/plugin_new_macro.py | 2 | ||||
-rw-r--r-- | examples/plugin_new_sorting_method.py | 2 | ||||
-rw-r--r-- | examples/plugin_pmount.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/examples/plugin_chmod_keybindings.py b/examples/plugin_chmod_keybindings.py index faab2345..0041a0c2 100644 --- a/examples/plugin_chmod_keybindings.py +++ b/examples/plugin_chmod_keybindings.py @@ -4,7 +4,7 @@ # It could replace the ten lines in the rc.conf that create the key bindings # for the "chmod" command. -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import ranger.api diff --git a/examples/plugin_file_filter.py b/examples/plugin_file_filter.py index f5c474c5..df7d8c4b 100644 --- a/examples/plugin_file_filter.py +++ b/examples/plugin_file_filter.py @@ -5,7 +5,7 @@ # Save the original filter function -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import ranger.container.directory 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: diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py index 99637272..c6fc60c6 100644 --- a/examples/plugin_ipc.py +++ b/examples/plugin_ipc.py @@ -7,7 +7,7 @@ # Example: # $ echo tab_new ~/images > /tmp/ranger-ipc.1234 -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import ranger.api diff --git a/examples/plugin_linemode.py b/examples/plugin_linemode.py index 84cc57cc..52b9c60a 100644 --- a/examples/plugin_linemode.py +++ b/examples/plugin_linemode.py @@ -5,7 +5,7 @@ # the linemode by typing ":linemode rot13" in ranger. Type Mf to restore # the default linemode. -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import codecs diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py index 0e44cdd3..cb4d7413 100644 --- a/examples/plugin_new_macro.py +++ b/examples/plugin_new_macro.py @@ -4,7 +4,7 @@ # date in commands that allow macros. You can test it with the command # ":shell echo %date; read" -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import time diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py index fefeaad9..d294067e 100644 --- a/examples/plugin_new_sorting_method.py +++ b/examples/plugin_new_sorting_method.py @@ -3,7 +3,7 @@ # This plugin adds the sorting algorithm called 'random'. To enable it, type # ":set sort=random" or create a key binding with ":map oz set sort=random" -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) from random import random diff --git a/examples/plugin_pmount.py b/examples/plugin_pmount.py index 5db85385..d7c88349 100644 --- a/examples/plugin_pmount.py +++ b/examples/plugin_pmount.py @@ -9,7 +9,7 @@ # alt+shift+m <uppercase letter> : unmount /dev/sd<letter> # alt+shift+n : list the devices -from __future__ import (absolute_import, print_function) +from __future__ import (absolute_import, division, print_function) import ranger.api |