Simplified error handling in ./be
authorW. Trevor King <wking@drexel.edu>
Fri, 10 Jul 2009 18:11:23 +0000 (14:11 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 10 Jul 2009 18:11:23 +0000 (14:11 -0400)
commit0f09cef7c497ea826df526d2d3a5b018279c4d2f
treeba198d2d478cc4f65184f9069b74c1a8570cd35a
parente5c0d5f2f3f7637cad6baca9e33778d0c054195d
Simplified error handling in ./be

Removed superfluous nesting in ./be's error catching.  Also replaced
KeyErrors due to unknown commands with the more specific
cmdutil.UnknownCommand, since all sorts of programming errors can
raise KeyErrors.

Untested, since my working tree is a mess at the moment, but what
could go wrong? ;)
be
libbe/cmdutil.py