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 /doc | |
parent | 916c239014b95f02bf045f8de0488d7614126edf (diff) | |
download | ranger-e52629c1c70f91ac117e488e04a73bf9e91ab8f9.tar.gz |
linting: Python 2 compat: Import from `__future__`
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/tools/convert_papermode_to_metadata.py | 2 | ||||
-rwxr-xr-x | doc/tools/print_colors.py | 2 | ||||
-rwxr-xr-x | doc/tools/print_keys.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/doc/tools/convert_papermode_to_metadata.py b/doc/tools/convert_papermode_to_metadata.py index e73df344..d4427a10 100755 --- a/doc/tools/convert_papermode_to_metadata.py +++ b/doc/tools/convert_papermode_to_metadata.py @@ -9,6 +9,8 @@ ranger used to store metadata in .paperinfo files, but that format was rather limited, so .metadata.json files were introduced. """ +from __future__ import (absolute_import, print_function) + import csv import json import os diff --git a/doc/tools/print_colors.py b/doc/tools/print_colors.py index c4b6e736..69436778 100755 --- a/doc/tools/print_colors.py +++ b/doc/tools/print_colors.py @@ -4,6 +4,8 @@ You can use this tool to display all supported colors and their color number. It will exit after a keypress. """ +from __future__ import (absolute_import, print_function) + import curses diff --git a/doc/tools/print_keys.py b/doc/tools/print_keys.py index cf915591..936d9bf0 100755 --- a/doc/tools/print_keys.py +++ b/doc/tools/print_keys.py @@ -3,6 +3,8 @@ You can use this tool to find out values of keypresses """ +from __future__ import (absolute_import, print_function) + import curses |