From 4889440b63b62e99366bb119fc63e2d960e51883 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 30 Jul 2011 11:46:27 -0400 Subject: [PATCH] Add ImportError to UnknownCommand output in get_command doctest. This catches the test result up after: Commit: 0d5c9c68e947617c9d073d5f19351bdd8f3866db Author: W. Trevor King Date: Wed May 25 10:30:19 2011 -0400 Attach ImportError message to UnknownCommand to aid debugging. --- libbe/command/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libbe/command/base.py b/libbe/command/base.py index 311791f..11835ee 100644 --- a/libbe/command/base.py +++ b/libbe/command/base.py @@ -73,6 +73,7 @@ def get_command(command_name): ... except UnknownCommand, e: ... print e Unknown command 'asdf' + (No module named asdf) >>> repr(get_command('list')).startswith("