From d433366708c7b198d4a43254e502ed3fc64a6fa0 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 18 Jul 2009 09:36:23 -0400 Subject: [PATCH] Fixed some missing references in be-handle-mail.InvalidSubject --- Makefile | 4 ++-- interfaces/email/interactive/be-handle-mail | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fe482c3..61f67c8 100644 --- 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}" diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index e8de7ca..aa0c96a 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -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): -- 2.26.2