about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-01-24 23:34:08 +0100
committerhut <hut@lepus.uberspace.de>2016-01-24 23:34:08 +0100
commit2f04fb98ddac7bc558666d5817750af3a25a7bf5 (patch)
treebebdbbb4cfb271b38a3d67f9c9867985722d0c92
parentbd0da6444fa8836aed6fb52677c4e1619e1876c8 (diff)
downloadranger-2f04fb98ddac7bc558666d5817750af3a25a7bf5.tar.gz
core.actions: added "COMPAT" comment to stick to conventions
-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: