From: W. Trevor King Date: Sat, 18 Jul 2009 13:36:23 +0000 (-0400) Subject: Fixed some missing references in be-handle-mail.InvalidSubject X-Git-Tag: 1.0.0~62^2~46^2~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d433366708c7b198d4a43254e502ed3fc64a6fa0;p=be.git Fixed some missing references in be-handle-mail.InvalidSubject --- 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):