From b5c4896d7ffd219a3118a3e6885db5956bf79e55 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 12 Jul 2009 14:32:55 -0400 Subject: Added "be comment --xml --ignore-missing-references ID COMMENT". Now you don't have to edit them out by hand. --- libbe/cmdutil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbe/cmdutil.py') 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): -- cgit