diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-10 09:59:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-10 09:59:25 +0200 |
commit | e9e7e48d2f5c966b093593905166ed3c0ce37528 (patch) | |
tree | 99050e59ffe29434eaf201640b0a42f2ab790dae | |
parent | beeae6f8dffa77609b0e838a21de75df9b2f351e (diff) |
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.
-rw-r--r-- | vim/plugin/nm_vim.py | 2 |
1 files changed, 1 insertions, 1 deletions
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())) |