From cfbef97efd124980a0716de43eabafc2fc7cb913 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Tue, 18 Oct 2011 17:43:51 +0100 Subject: fix quoting in shlex and catch ValueError on non-matching quotes. Explicit quoting in a commandprompt has been swallowed by shlex before. --- alot/commands/taglist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/commands/taglist.py') diff --git a/alot/commands/taglist.py b/alot/commands/taglist.py index 610dc2c1..8b896fc9 100644 --- a/alot/commands/taglist.py +++ b/alot/commands/taglist.py @@ -8,5 +8,5 @@ MODE = 'taglist' class TaglistSelectCommand(Command): def apply(self, ui): tagstring = ui.current_buffer.get_selected_tag() - cmd = SearchCommand(query=['tag:\"%s\"' % tagstring]) + cmd = SearchCommand(query=['tag:"%s"' % tagstring]) ui.apply_command(cmd) -- cgit v1.2.3