Fixed typo in one of be-handle-mail's InvalidCommand calls.
authorW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 13:51:17 +0000 (09:51 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 13:51:17 +0000 (09:51 -0400)
Also restored Makefile target to home (from local), which I'd
accidentally committed two commits ago...

Makefile
interfaces/email/interactive/be-handle-mail

index 61f67c82071f8bf8521889607705f8a0e2996129..cc2f91cfff1d8d70b115fa2b22c52a84cc62cfff 100644 (file)
--- 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}"
 
 \f
 .PHONY: all
index 42d85ac525272a20a84a6b25c4c207ac959dd893..7d165be5fa41e67e12ef7c29aab7140693325f78 100755 (executable)
@@ -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: