|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: roundupdb.py,v 1.21 2001-11-26 22:55:56 richard Exp $ |
| 18 | +# $Id: roundupdb.py,v 1.22 2001-11-27 03:00:50 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Extending hyperdb with types specific to issue-tracking. |
@@ -410,15 +410,24 @@ def email_signature(self, nodeid, msgid): |
410 | 410 | ''' Add a signature to the e-mail with some useful information |
411 | 411 | ''' |
412 | 412 | web = self.ISSUE_TRACKER_WEB + 'issue'+ nodeid |
413 | | - return '''%s |
414 | | -%s |
415 | | -%s |
416 | | -%s |
417 | | -'''%('_'*len(web), self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL, web, |
418 | | - '_'*len(web)) |
| 413 | + email = '"%s" <%s>'%(self.INSTANCE_NAME, self.ISSUE_TRACKER_EMAIL) |
| 414 | + line = '_' * max(len(web), len(email)) |
| 415 | + return '%s\n%s\n%s\n%s'%(line, email, web, line) |
419 | 416 |
|
420 | 417 | # |
421 | 418 | # $Log: not supported by cvs2svn $ |
| 419 | +# Revision 1.21 2001/11/26 22:55:56 richard |
| 420 | +# Feature: |
| 421 | +# . Added INSTANCE_NAME to configuration - used in web and email to identify |
| 422 | +# the instance. |
| 423 | +# . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup |
| 424 | +# signature info in e-mails. |
| 425 | +# . Some more flexibility in the mail gateway and more error handling. |
| 426 | +# . Login now takes you to the page you back to the were denied access to. |
| 427 | +# |
| 428 | +# Fixed: |
| 429 | +# . Lots of bugs, thanks Roché and others on the devel mailing list! |
| 430 | +# |
422 | 431 | # Revision 1.20 2001/11/25 10:11:14 jhermann |
423 | 432 | # Typo fix |
424 | 433 | # |
|
0 commit comments