aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/base.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2011-07-30 11:46:27 -0400
committerW. Trevor King <wking@drexel.edu>2011-07-30 11:46:27 -0400
commit4889440b63b62e99366bb119fc63e2d960e51883 (patch)
treee0b0632bb53f628a14b9ccdcdb82c134095b4638 /libbe/command/base.py
parenteb40d407a056f0ac38896196dee6dbb543df424e (diff)
downloadbugseverywhere-4889440b63b62e99366bb119fc63e2d960e51883.tar.gz
Add ImportError to UnknownCommand output in get_command doctest.
This catches the test result up after: Commit: 0d5c9c68e947617c9d073d5f19351bdd8f3866db Author: W. Trevor King <wking@drexel.edu> Date: Wed May 25 10:30:19 2011 -0400 Attach ImportError message to UnknownCommand to aid debugging.
Diffstat (limited to 'libbe/command/base.py')
-rw-r--r--libbe/command/base.py1
1 files changed, 1 insertions, 0 deletions
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("<module 'libbe.command.list' from ")
True
"""