From c11db47e9708ee53771598205fa82437bcbbe957 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 18 Jul 2009 09:51:17 -0400 Subject: [PATCH] Fixed typo in one of be-handle-mail's InvalidCommand calls. Also restored Makefile target to home (from local), which I'd accidentally committed two commits ago... --- Makefile | 4 ++-- interfaces/email/interactive/be-handle-mail | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 61f67c8..cc2f91c 100644 --- a/Makefile +++ b/Makefile @@ -39,8 +39,8 @@ MODULES += ${DOC_DIR} RM = rm PREFIX = /usr/local -#PREFIX = ${HOME} -INSTALL_OPTIONS = "--prefix=${PREFIX}" +PREFIX = ${HOME} +#INSTALL_OPTIONS = "--prefix=${PREFIX}" .PHONY: all diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index 42d85ac..7d165be 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -125,7 +125,7 @@ def run_message(msg_text): command = args[1] info["command"] = command if command not in ALLOWED_COMMANDS: - raise InvalidCommand(msg, command) + raise InvalidCommand(msg, info, command) if len(args) > 2: command_args = args[2:] else: -- 2.26.2