diff options
author | Toon Nolten <toon.nolten@student.kuleuven.be> | 2017-05-28 15:04:46 +0200 |
---|---|---|
committer | Toon Nolten <toon.nolten@student.kuleuven.be> | 2017-05-28 15:04:46 +0200 |
commit | ffc44b200f131fdda55fec1de17e45c161ca9c77 (patch) | |
tree | 9bbaf3a341abd33b9d23258e6d17e9d3cf571612 /ranger | |
parent | 743922694120cb296e3e82a1da66baa0560b5e33 (diff) | |
download | ranger-ffc44b200f131fdda55fec1de17e45c161ca9c77.tar.gz |
Avoid redefining file built-in for python 2.7
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/config/commands.py | 2 |
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): |