summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
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: