diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-18 17:43:51 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-18 17:43:51 +0100 |
commit | cfbef97efd124980a0716de43eabafc2fc7cb913 (patch) | |
tree | 3c3cef119bef0a12e55a2e5df706744e3d2205a5 /alot/commands/taglist.py | |
parent | f141523dd1056a9f79028d2e10db58cf04f2a2d6 (diff) |
fix quoting in shlex
and catch ValueError on non-matching quotes.
Explicit quoting in a commandprompt has been
swallowed by shlex before.
Diffstat (limited to 'alot/commands/taglist.py')
-rw-r--r-- | alot/commands/taglist.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |