about summary refs log tree commit diff stats
path: root/ranger/ext
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-10-11 21:26:29 +0200
committertoonn <toonn@toonn.io>2019-10-11 21:26:29 +0200
commit8927b648c90ba5b95653ae7d55a37c917275d2c2 (patch)
treec5d62f16d3b205bce66c4e8414fd213ce5bad497 /ranger/ext
parent22a6f6d89db9d19277c44fde3752a9530277bd28 (diff)
downloadranger-8927b648c90ba5b95653ae7d55a37c917275d2c2.tar.gz
Fix long lines for pylint
Diffstat (limited to 'ranger/ext')
-rwxr-xr-xranger/ext/rifle.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index cdf0d729..360e6a48 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -237,7 +237,9 @@ class Rifle(object):  # pylint: disable=too-many-instance-attributes
             self._app_flags = argument
             return True
         elif function == 'X':
-            return 'WAYLAND_DISPLAY' in os.environ or sys.platform == 'darwin' or 'DISPLAY' in os.environ
+            return ('WAYLAND_DISPLAY' in os.environ
+                    or sys.platform == 'darwin'
+                    or 'DISPLAY' in os.environ)
         elif function == 'env':
             return bool(os.environ.get(argument))
         elif function == 'else':