diff options
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r-- | libbe/cmdutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index b550eb0..7ce8ac2 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -69,8 +69,8 @@ def get_command(command_name): File "/home/abentley/be/libbe/cmdutil.py", line 60, in get_command raise UserError("Unknown command %s" % command_name) UserError: Unknown command asdf - >>> get_command("list") - <module 'becommands.list' from '/home/abentley/be/becommands/list.pyc'> + >>> repr(get_command("list")).startswith("<module 'becommands.list' from ") + True """ cmd = plugin.get_plugin("becommands", command_name.replace("-", "_")) if cmd is None: |