aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/cmdutil.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-12 14:32:55 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-12 14:32:55 -0400
commitb5c4896d7ffd219a3118a3e6885db5956bf79e55 (patch)
tree1c09b1ce9989073027683409e5c028ae608bb29e /libbe/cmdutil.py
parent37c4e7f0f0d012e8df88b94022bc9a9d75373831 (diff)
downloadbugseverywhere-b5c4896d7ffd219a3118a3e6885db5956bf79e55.tar.gz
Added "be comment --xml --ignore-missing-references ID COMMENT".
Now you don't have to edit them out by hand.
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r--libbe/cmdutil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py
index b39aa51..0bee9db 100644
--- a/libbe/cmdutil.py
+++ b/libbe/cmdutil.py
@@ -71,7 +71,8 @@ def get_command(command_name):
def execute(cmd, args):
enc = encoding.get_encoding()
- get_command(cmd).execute([a.decode(enc) for a in args])
+ cmd = get_command(cmd)
+ cmd.execute([a.decode(enc) for a in args])
return 0
def help(cmd=None):