diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-09-10 19:47:25 +0200 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-09-10 19:47:25 +0200 |
commit | 617c36064a083f15b477f95efa009c84836f975e (patch) | |
tree | 86e81177bca50f2cd1d9ed2e14d5d7f04471afd4 /ranger | |
parent | 02198a6d5e0ecefa30ca4f6c5734276528b36dd7 (diff) | |
download | ranger-617c36064a083f15b477f95efa009c84836f975e.tar.gz |
core.actions: Log which files were deleted
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 435fcf13..25b01e2c 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1607,10 +1607,10 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m 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: files = (fobj.path for fobj in self.thistab.get_selection()) + self.notify("Deleting {}!".format(", ".join(files))) files = [os.path.abspath(path) for path in files] for path in files: # Untag the deleted files. |