diff options
author | hut <hut@lepus.uberspace.de> | 2016-06-21 01:01:49 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-06-21 01:02:11 +0200 |
commit | 8bd0a3c84e812aff4828472daf391a135a2129a8 (patch) | |
tree | fae05c3da9dc226b22cdd750674426893d244a54 /ranger | |
parent | fa709c22f29c9d395a875f13baf360fa9191f73c (diff) | |
download | ranger-8bd0a3c84e812aff4828472daf391a135a2129a8.tar.gz |
core.loader: removed redundant `.readlines()`
Thanks to @Vifon for pointing it out
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/loader.py | 2 |
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) |