From 8bd0a3c84e812aff4828472daf391a135a2129a8 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 21 Jun 2016 01:01:49 +0200 Subject: core.loader: removed redundant `.readlines()` Thanks to @Vifon for pointing it out --- ranger/core/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/core/loader.py b/ranger/core/loader.py index 41b57feb..d265ce80 100644 --- a/ranger/core/loader.py +++ b/ranger/core/loader.py @@ -211,7 +211,7 @@ class CommandLoader(Loadable, SignalDispatcher, FileManagerAware): except select.error: sleep(0.03) if not self.silent: - for line in process.stderr.readlines(): + for line in process.stderr: if py3: line = safeDecode(line) self.fm.notify(line, bad=True) -- cgit 1.4.1-2-gfad0