From e9e7e48d2f5c966b093593905166ed3c0ce37528 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 10 Aug 2012 09:59:25 +0200 Subject: vim plugin: more explicitly format the tags list in search results. Use ' '.join() instead of just calling str(). This also fixes printing non-ASCII tag names. --- vim/plugin/nm_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/plugin/nm_vim.py b/vim/plugin/nm_vim.py index 2d62035..8494278 100644 --- a/vim/plugin/nm_vim.py +++ b/vim/plugin/nm_vim.py @@ -191,7 +191,7 @@ class Search(NMBuffer): if not subj: subj = t.get_subject() - tags = str(t.get_tags()) + tags = ' '.join(t.get_tags()) line = (u'%-12s %3s/%3s %-20.20s | %s (%s)'%(datestr, t.get_matched_messages(), t.get_total_messages(), authors, subj, tags)).encode('utf-8') self._results.put((line, t.get_thread_id())) -- cgit v1.2.3