about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/ext/rifle.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index c3544805..0d7b5650 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -146,8 +146,7 @@ except ImportError:
             ) as null_w:
                 kwargs["stdin"] = null_r
                 kwargs["stdout"] = kwargs["stderr"] = null_w
-                with Popen(*args, **kwargs):
-                    pass
+                Popen(*args, **kwargs)  # pylint: disable=consider-using-with
             os._exit(0)  # pylint: disable=protected-access
         return True