projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a937f
)
got tests passing
author
Aaron Bentley
<aaron.bentley@utoronto.ca>
Thu, 22 Dec 2005 00:51:48 +0000
(19:51 -0500)
committer
Aaron Bentley
<aaron.bentley@utoronto.ca>
Thu, 22 Dec 2005 00:51:48 +0000
(19:51 -0500)
libbe/cmdutil.py
patch
|
blob
|
history
diff --git
a/libbe/cmdutil.py
b/libbe/cmdutil.py
index 24eab64dcf7e152a77dec499b7eeddaf82edf0fc..ca28cdf4ac1e042cd031174c5d281fe637c31465 100644
(file)
--- a/
libbe/cmdutil.py
+++ b/
libbe/cmdutil.py
@@
-88,9
+88,6
@@
def get_command(command_name):
>>> get_command("asdf")
Traceback (most recent call last):
- File "<stdin>", line 1, in ?
- File "/home/abentley/be/libbe/cmdutil.py", line 60, in get_command
- raise UserError("Unknown command %s" % command_name)
UserError: Unknown command asdf
>>> repr(get_command("list")).startswith("<module 'becommands.list' from ")
True