comparison roundup/roundupdb.py @ 612:a2aeebf3d6bd

Added a uniquely Roundup header to email, "X-Roundup-Name"
author Richard Jones <richard@users.sourceforge.net>
date Thu, 14 Feb 2002 22:33:15 +0000
parents bb5ee2f24ee0
children edd210915e64
comparison
equal deleted inserted replaced
611:74a7d06449bf 612:a2aeebf3d6bd
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: roundupdb.py,v 1.42 2002-01-21 09:55:14 rochecompaan Exp $ 18 # $Id: roundupdb.py,v 1.43 2002-02-14 22:33:15 richard Exp $
19 19
20 __doc__ = """ 20 __doc__ = """
21 Extending hyperdb with types specific to issue-tracking. 21 Extending hyperdb with types specific to issue-tracking.
22 """ 22 """
23 23
388 writer.addheader('MIME-Version', '1.0') 388 writer.addheader('MIME-Version', '1.0')
389 if messageid: 389 if messageid:
390 writer.addheader('Message-Id', messageid) 390 writer.addheader('Message-Id', messageid)
391 if inreplyto: 391 if inreplyto:
392 writer.addheader('In-Reply-To', inreplyto) 392 writer.addheader('In-Reply-To', inreplyto)
393
394 # add a uniquely Roundup header to help filtering
395 writer.addheader('X-Roundup-Name', self.db.config.INSTANCE_NAME)
393 396
394 # attach files 397 # attach files
395 if message_files: 398 if message_files:
396 part = writer.startmultipartbody('mixed') 399 part = writer.startmultipartbody('mixed')
397 part = writer.nextpart() 400 part = writer.nextpart()
566 m.insert(0, '') 569 m.insert(0, '')
567 return '\n'.join(m) 570 return '\n'.join(m)
568 571
569 # 572 #
570 # $Log: not supported by cvs2svn $ 573 # $Log: not supported by cvs2svn $
574 # Revision 1.42 2002/01/21 09:55:14 rochecompaan
575 # Properties in change note are now sorted
576 #
571 # Revision 1.41 2002/01/15 00:12:40 richard 577 # Revision 1.41 2002/01/15 00:12:40 richard
572 # #503340 ] creating issue with [asignedto=p.ohly] 578 # #503340 ] creating issue with [asignedto=p.ohly]
573 # 579 #
574 # Revision 1.40 2002/01/14 22:21:38 richard 580 # Revision 1.40 2002/01/14 22:21:38 richard
575 # #503353 ] setting properties in initial email 581 # #503353 ] setting properties in initial email

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