diff options
author | toonn <toonn@toonn.io> | 2020-07-05 15:25:24 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2020-07-05 15:25:24 +0200 |
commit | 9e6d29ab46bc44b90a69d55e095067fcabc115e3 (patch) | |
tree | febecdd19e6905a20f0564fb52e93e74cb4e575f /ranger | |
parent | 6a871101331b9b6ea19958946cfd4f5845505d38 (diff) | |
download | ranger-9e6d29ab46bc44b90a69d55e095067fcabc115e3.tar.gz |
Fix two issues caught by pylint3k
One lacking `from __future__ import absolute_import` and one implicit-format-spec (a custom check!) : )
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/macrodict.py | 1 | ||||
-rw-r--r-- | ranger/gui/ui.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ranger/ext/macrodict.py b/ranger/ext/macrodict.py index 8a8a4a3d..b4613fbc 100644 --- a/ranger/ext/macrodict.py +++ b/ranger/ext/macrodict.py @@ -1,3 +1,4 @@ +from __future__ import absolute_import import sys diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index d820d4a9..f0f81c88 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -534,7 +534,7 @@ class UI( # pylint: disable=too-many-instance-attributes,too-many-public-method self.fm.notify("Could not restore multiplexer window name!", bad=True) - sys.stdout.write("\033k{}\033\\".format(self._multiplexer_title)) + sys.stdout.write("\033k{0}\033\\".format(self._multiplexer_title)) sys.stdout.flush() def hint(self, text=None): |