From 2f04fb98ddac7bc558666d5817750af3a25a7bf5 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 24 Jan 2016 23:34:08 +0100 Subject: core.actions: added "COMPAT" comment to stick to conventions --- ranger/core/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.4.1-2-gfad0