diff options
author | hut <hut@lepus.uberspace.de> | 2016-01-24 23:34:08 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-01-24 23:34:08 +0100 |
commit | 2f04fb98ddac7bc558666d5817750af3a25a7bf5 (patch) | |
tree | bebdbbb4cfb271b38a3d67f9c9867985722d0c92 /ranger | |
parent | bd0da6444fa8836aed6fb52677c4e1619e1876c8 (diff) | |
download | ranger-2f04fb98ddac7bc558666d5817750af3a25a7bf5.tar.gz |
core.actions: added "COMPAT" comment to stick to conventions
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 85272326..63916145 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1309,8 +1309,8 @@ class Actions(FileManagerAware, SettingsAware): def delete(self, files=None): # XXX: warn when deleting mount points/unseen marked files? self.notify("Deleting!") + # COMPAT: old command.py use fm.delete() without arguments if files is None: - # Backward compatiblity. files = (f.path for f in self.thistab.get_selection()) files = [os.path.abspath(f) for f in files] for f in files: |