From eea0eaa2d5bc1da6dbfc50c5608fcf7087e72a04 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 10 Oct 2014 14:18:24 +0200 Subject: [PATCH] fix compatibility with the new behavior of do() --- weboob/applications/boobmsg/boobmsg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weboob/applications/boobmsg/boobmsg.py b/weboob/applications/boobmsg/boobmsg.py index abd285ca..bf66b4b0 100644 --- a/weboob/applications/boobmsg/boobmsg.py +++ b/weboob/applications/boobmsg/boobmsg.py @@ -378,7 +378,7 @@ class Boobmsg(ReplApplication): self.formatter._list_messages = False self.start_format() - for backend, thread in cmd: + for thread in cmd: if not thread: continue if len(arg) > 0: @@ -418,7 +418,7 @@ class Boobmsg(ReplApplication): _id, backend_name = self.parse_id(arg) cmd = self.do('get_thread', _id, backends=backend_name) self.start_format() - for backend, thread in cmd: + for thread in cmd: if thread is not None : for msg in thread.iter_all_messages(): self.format(msg) @@ -439,7 +439,7 @@ class Boobmsg(ReplApplication): except (IndexError, ValueError): id, backend_name = self.parse_id(arg) cmd = self.do('get_thread', id, backends=backend_name) - for backend, thread in cmd: + for thread in cmd: if thread is not None: message = thread.root if message is not None: