[Python-checkins] r54301 - tracker/roundup-src/roundup/mailgw.py
erik.forsberg
python-checkins at python.org
Mon Mar 12 20:07:19 CET 2007
Author: erik.forsberg
Date: Mon Mar 12 20:07:15 2007
New Revision: 54301
Modified:
tracker/roundup-src/roundup/mailgw.py
Log:
Modified message about not being registered to include registration
address. Fixes http://psf.upfronthosting.co.za/roundup/meta/issue90.
Modified: tracker/roundup-src/roundup/mailgw.py
==============================================================================
--- tracker/roundup-src/roundup/mailgw.py (original)
+++ tracker/roundup-src/roundup/mailgw.py Mon Mar 12 20:07:15 2007
@@ -882,8 +882,13 @@
if author == anonid:
# we're anonymous and we need to be a registered user
from_address = from_list[0][1]
+ tracker_web = self.instance.config.TRACKER_WEB
raise Unauthorized, _("""
-You are not a registered user.
+You are not a registered user. Please register at:
+
+%(tracker_web)suser?@template=register
+
+...before sending mail to the tracker.
Unknown address: %(from_address)s
""") % locals()
More information about the Python-checkins
mailing list