From 49f08743b35a9c1b61e1b2ca99b6f2f87b57719e Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 27 Jul 2013 13:34:40 +0200 Subject: [PATCH] rename command 'getfile' to 'download' --- weboob/applications/suboob/suboob.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weboob/applications/suboob/suboob.py b/weboob/applications/suboob/suboob.py index 4468cf17..6d584f75 100644 --- a/weboob/applications/suboob/suboob.py +++ b/weboob/applications/suboob/suboob.py @@ -121,16 +121,16 @@ class Suboob(ReplApplication): self.format(subtitle) self.flush() - def complete_getfile(self, text, line, *ignored): + def complete_download(self, text, line, *ignored): args = line.split(' ', 2) if len(args) == 2: return self._complete_object() elif len(args) >= 3: return self.path_completer(args[2]) - def do_getfile(self, line): + def do_download(self, line): """ - getfile ID [FILENAME] + download ID [FILENAME] Get the subtitle or archive file. FILENAME is where to write the file. If FILENAME is '-',