diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-08-28 22:14:37 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-09-03 22:14:08 +0100 |
commit | e3e71081d7e2265ab5b66303ad5c8584c8f9917c (patch) | |
tree | 2b812d6d34d6cec93915c01483feb8691213176c /alot/commands/globals.py | |
parent | 935d80769d33044d0dba50bdf4cea8169eaaaa80 (diff) |
delegate cmdline interpretation to UI
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 715fe4ef..ac5480e3 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -114,12 +114,7 @@ class PromptCommand(Command): if cmdline: # save into prompt history ui.commandprompthistory.append(cmdline) - - try: - cmd = commandfactory(cmdline, mode) - ui.apply_command(cmd) - except CommandParseError, e: - ui.notify(e.message, priority='error') + ui.apply_commandline(cmdline) @registerCommand(MODE, 'refresh') |