factorise
This commit is contained in:
parent
4a92e6e15a
commit
397b5875f1
9 changed files with 59 additions and 54 deletions
|
|
@ -298,9 +298,9 @@ class Boobmsg(ReplApplication):
|
|||
_id, backend_name = self.parse_id(arg)
|
||||
cmd = self.do('get_thread', _id, backends=backend_name)
|
||||
for backend, thread in cmd:
|
||||
for msg in thread.iter_all_messages():
|
||||
self.format(msg)
|
||||
|
||||
if thread is not None :
|
||||
for msg in thread.iter_all_messages():
|
||||
self.format(msg)
|
||||
|
||||
def do_show(self, arg):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue