about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-06-21 01:01:49 +0200
committerhut <hut@lepus.uberspace.de>2016-06-21 01:02:11 +0200
commit8bd0a3c84e812aff4828472daf391a135a2129a8 (patch)
treefae05c3da9dc226b22cdd750674426893d244a54
parentfa709c22f29c9d395a875f13baf360fa9191f73c (diff)
downloadranger-8bd0a3c84e812aff4828472daf391a135a2129a8.tar.gz
core.loader: removed redundant `.readlines()`
Thanks to @Vifon for pointing it out
-rw-r--r--ranger/core/loader.py2
1 files changed, 1 insertions, 1 deletions
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)