diff roundup/roundupdb.py @ 414:fc6d03e9dbc1

couple of bugfixes from latest patch integration
author Richard Jones <richard@users.sourceforge.net>
date Tue, 27 Nov 2001 03:00:50 +0000
parents a6088556e9ba
children 26a4910ef80e
line wrap: on
line diff
--- a/roundup/roundupdb.py	Mon Nov 26 23:00:53 2001 +0000
+++ b/roundup/roundupdb.py	Tue Nov 27 03:00:50 2001 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.21 2001-11-26 22:55:56 richard Exp $
+# $Id: roundupdb.py,v 1.22 2001-11-27 03:00:50 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -410,15 +410,24 @@
         ''' Add a signature to the e-mail with some useful information
         '''
         web = self.ISSUE_TRACKER_WEB + 'issue'+ nodeid
-        return '''%s
-%s
-%s
-%s
-'''%('_'*len(web), self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL, web,
-    '_'*len(web))
+        email = '"%s" <%s>'%(self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL)
+        line = '_' * max(len(web), len(email))
+        return '%s\n%s\n%s\n%s'%(line, email, web, line)
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.21  2001/11/26 22:55:56  richard
+# Feature:
+#  . Added INSTANCE_NAME to configuration - used in web and email to identify
+#    the instance.
+#  . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
+#    signature info in e-mails.
+#  . Some more flexibility in the mail gateway and more error handling.
+#  . Login now takes you to the page you back to the were denied access to.
+#
+# Fixed:
+#  . Lots of bugs, thanks Roché and others on the devel mailing list!
+#
 # Revision 1.20  2001/11/25 10:11:14  jhermann
 # Typo fix
 #

Roundup Issue Tracker: http://roundup-tracker.org/