Fixed some missing references in be-handle-mail.InvalidSubject
authorW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 13:36:23 +0000 (09:36 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 18 Jul 2009 13:36:23 +0000 (09:36 -0400)
Makefile
interfaces/email/interactive/be-handle-mail

index fe482c33b82f3653fc81579ad3739aa961031fa2..61f67c82071f8bf8521889607705f8a0e2996129 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@ MODULES += ${DOC_DIR}
 
 RM = rm
 
-#PREFIX = /usr/local
-PREFIX = ${HOME}
+PREFIX = /usr/local
+#PREFIX = ${HOME}
 INSTALL_OPTIONS = "--prefix=${PREFIX}"
 
 \f
index e8de7ca2bc86f5da176bae2237169688eec60110..aa0c96ae04e20b75be5010a8d55536f4d94ccd03 100755 (executable)
@@ -69,9 +69,9 @@ class InvalidEmail (ValueError):
 class InvalidSubject (InvalidEmail):
     def stderr_msg(self):
         err_text = u"\n".join([u"InvalidSubject:\n",
-                               unicode(e), u"",
+                               unicode(self), u"",
                                u"full subject was:",
-                               e.msg["subject"]])
+                               self.msg["subject"]])
         return err_text
 
 class InvalidCommand (InvalidEmail):