Mercurial > p > roundup > code
comparison scripts/notify-roundup.py @ 4143:af07059b6886 gsoc-2009
Fixed notify-roundup to work with devel tracker
| author | Pygi <pygi@users.sourceforge.net> |
|---|---|
| date | Mon, 29 Jun 2009 19:45:09 +0000 |
| parents | ec87c2c53563 |
| children | 84c42a8eed7c |
comparison
equal
deleted
inserted
replaced
| 4142:ec87c2c53563 | 4143:af07059b6886 |
|---|---|
| 181 | 181 |
| 182 # add the message to the spool | 182 # add the message to the spool |
| 183 date = roundup.date.Date(repos.date) | 183 date = roundup.date.Date(repos.date) |
| 184 msgid = db.msg.create(content=repos.message, summary=repos.summary, | 184 msgid = db.msg.create(content=repos.message, summary=repos.summary, |
| 185 author=userid, date=date, revision=svn_rev_id) | 185 author=userid, date=date, revision=svn_rev_id) |
| 186 messages = db.issue.get(repos.itemid, 'messages') | 186 messages = db.bug.get(repos.itemid, 'messages') |
| 187 messages.append(msgid) | 187 messages.append(msgid) |
| 188 klass = db.getclass(repos.klass) | 188 klass = db.getclass(repos.klass) |
| 189 klass.set(repos.itemid, messages=messages) | 189 klass.set(repos.itemid, messages=messages) |
| 190 | 190 |
| 191 # and set the status | 191 # and set the status |
