diff options
Diffstat (limited to 'examples/plugin_new_sorting_method.py')
-rw-r--r-- | examples/plugin_new_sorting_method.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/plugin_new_sorting_method.py b/examples/plugin_new_sorting_method.py index 2dd50257..fefeaad9 100644 --- a/examples/plugin_new_sorting_method.py +++ b/examples/plugin_new_sorting_method.py @@ -3,6 +3,8 @@ # 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 random import random from ranger.container.directory import Directory |