about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-10-28 14:02:07 +0100
committertoonn <toonn@toonn.io>2018-10-28 14:02:07 +0100
commit89b4b1290cd7ad43ce6452876117323f03616a39 (patch)
treeb6332429c7c2bba42b67a78e75fe5c26b15a4986
parent55099758427b04201510774b4526bd2b0d331b48 (diff)
downloadranger-89b4b1290cd7ad43ce6452876117323f03616a39.tar.gz
Placate our pep 8 overlords
-rw-r--r--ranger/core/actions.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 5358a40f..6cf376eb 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1170,10 +1170,8 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
         # Guess encoding ourselves.
         # These should be the most frequently used ones.
         # latin-1 as the last resort
-        encodings = [ ('utf-8', 'strict')
-                    , ('utf-16', 'strict')
-                    , ('latin-1', 'replace')
-                    ]
+        encodings = [('utf-8', 'strict'), ('utf-16', 'strict'),
+                     ('latin-1', 'replace')]
 
         with open(path, 'rb') as fobj:
             data = fobj.read(count)