From d0730472d8e10bd6c19d71b101e3f7e5a5ae6c72 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 24 Sep 2010 13:45:50 -0400 Subject: [PATCH] oops fix bad function name --- weboob/applications/boobank/boobank.py | 2 +- weboob/applications/chatoob/chatoob.py | 2 +- weboob/applications/traveloob/traveloob.py | 2 +- weboob/applications/weboobcfg/weboobcfg.py | 2 +- weboob/applications/weboorrents/weboorrents.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/weboob/applications/boobank/boobank.py b/weboob/applications/boobank/boobank.py index 444187ef..1086c478 100644 --- a/weboob/applications/boobank/boobank.py +++ b/weboob/applications/boobank/boobank.py @@ -99,7 +99,7 @@ class Boobank(ReplApplication): Make a transfer beetwen two account """ - id_from, id_to, amount = self.parseline(line, 3, 3) + id_from, id_to, amount = self.parseargs(line, 3, 3) id_from, backend_name = self.parse_id(id_from) id_to, backend_name = self.parse_id(id_to) diff --git a/weboob/applications/chatoob/chatoob.py b/weboob/applications/chatoob/chatoob.py index 9e71255b..7685c16b 100644 --- a/weboob/applications/chatoob/chatoob.py +++ b/weboob/applications/chatoob/chatoob.py @@ -61,7 +61,7 @@ class Chatoob(ReplApplication): Send a message to the specified contact. """ - _id, message = self.parseline(line, 2, 2) + _id, message = self.parseargs(line, 2, 2) for backend, result in self.do('send_chat_message', _id, message): if not result: logging.error(u'Failed to send message to contact id="%s" on backend "%s"' % (_id, backend.name)) diff --git a/weboob/applications/traveloob/traveloob.py b/weboob/applications/traveloob/traveloob.py index 992f80ff..ffaeafd1 100644 --- a/weboob/applications/traveloob/traveloob.py +++ b/weboob/applications/traveloob/traveloob.py @@ -48,7 +48,7 @@ class Traveloob(ReplApplication): List all departures for a given station. """ - station, arrival = self.parseline(line, 2, 1) + station, arrival = self.parseargs(line, 2, 1) station_id, backend_name = self.parse_id(station) if arrival: diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py index 774185cc..eee6af86 100644 --- a/weboob/applications/weboobcfg/weboobcfg.py +++ b/weboob/applications/weboobcfg/weboobcfg.py @@ -47,7 +47,7 @@ class WeboobCfg(ReplApplication): Add a configured backend. """ - name, options = self.parseline(line, 2, 1) + name, options = self.parseargs(line, 2, 1) if options: options = options.split(' ') else: diff --git a/weboob/applications/weboorrents/weboorrents.py b/weboob/applications/weboorrents/weboorrents.py index 79946c4c..4bfa5ba2 100644 --- a/weboob/applications/weboorrents/weboorrents.py +++ b/weboob/applications/weboorrents/weboorrents.py @@ -59,7 +59,7 @@ class Weboorrents(ReplApplication): FILENAME is where to write the file. If FILENAME is '-', the file is written to stdout. """ - id, dest = self.parseline(line, 2, 2) + id, dest = self.parseargs(line, 2, 2) _id, backend_name = self.parse_id(id)