Mercurial > p > roundup > code
diff roundup/roundupdb.py @ 2228:1d1362c54c94
Some doc / comment fixes.
Added tools/load_tracker.py - see its usage string. Used to load a tracker
with data for load testing. Preliminary results: sqlite, mysql, postgresql
and metakit break *no* sweat with 2000 issues (approx 1700-1800 "open").
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Apr 2004 05:47:33 +0000 |
| parents | 5673b24ceb0d |
| children | 091711fb2f8c 2691c4e46780 |
line wrap: on
line diff
--- a/roundup/roundupdb.py Tue Apr 20 00:43:29 2004 +0000 +++ b/roundup/roundupdb.py Tue Apr 20 05:47:33 2004 +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.107 2004-04-18 06:13:48 richard Exp $ +# $Id: roundupdb.py,v 1.108 2004-04-20 05:47:33 richard Exp $ """Extending hyperdb with types specific to issue-tracking. """ @@ -121,7 +121,6 @@ appended to the "messages" field of the specified issue. """ - # XXX "bcc" is an optional extra here... def nosymessage(self, nodeid, msgid, oldvalues, whichnosy='nosy', from_address=None, cc=[], bcc=[]): """Send a message to the members of an issue's nosy list. @@ -133,6 +132,15 @@ If 'msgid' is None, the message gets sent only to the nosy list, and it's called a 'System Message'. + + The "cc" argument indicates additional recipients to send the + message to that may not be specified in the message's recipients + list. + + The "bcc" argument also indicates additional recipients to send the + message to that may not be specified in the message's recipients + list. These recipients will not be included in the To: or Cc: + address lists. """ authid = self.db.msg.safeget(msgid, 'author') recipients = self.db.msg.safeget(msgid, 'recipients', [])
