summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorToon Nolten <toon.nolten@student.kuleuven.be>2017-05-28 15:04:46 +0200
committerToon Nolten <toon.nolten@student.kuleuven.be>2017-05-28 15:04:46 +0200
commitffc44b200f131fdda55fec1de17e45c161ca9c77 (patch)
tree9bbaf3a341abd33b9d23258e6d17e9d3cf571612
parent743922694120cb296e3e82a1da66baa0560b5e33 (diff)
downloadranger-ffc44b200f131fdda55fec1de17e45c161ca9c77.tar.gz
Avoid redefining file built-in for python 2.7
-rwxr-xr-xranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 314d31c2..8f606cbe 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1721,7 +1721,7 @@ class yank(Command):
             process.communicate(input=input_argument)
 
     def get_selection_attr(self, attr):
-        return [getattr(file, attr) for file in
+        return [getattr(item, attr) for item in
                 self.fm.thistab.get_selection()]
 
     def tab(self, tabnum):