diff options
author | hut <hut@lepus.uberspace.de> | 2016-01-24 16:17:36 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-01-24 16:17:36 +0100 |
commit | ced55701672cb1dc81dfa2a40b76f27007f6c40a (patch) | |
tree | 061e61cbd9e0be975d7aab101feb3c7b7e9c3ae9 /ranger | |
parent | c7d79df4e519c8004c99f210b18634b8b834d2c3 (diff) | |
download | ranger-ced55701672cb1dc81dfa2a40b76f27007f6c40a.tar.gz |
core.actions: in delete(), renamed "narg" to "files"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 976d2f3d..634bb7f8 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1306,13 +1306,13 @@ class Actions(FileManagerAware, SettingsAware): self.loader.add(loadable, append=append) self.do_cut = False - def delete(self, narg=None): + def delete(self, files=None): # XXX: warn when deleting mount points/unseen marked files? self.notify("Deleting!") - if narg is None: + if files is None: selected = self.thistab.get_selection() else: - selected = [File(os.path.expanduser(f)) for f in narg] + selected = [File(os.path.expanduser(f)) for f in files] self.copy_buffer -= set(selected) if selected: for f in selected: |