[Python-checkins] r59800 - tracker/instances/python-dev/detectors/cia.py
martin.v.loewis
python-checkins at python.org
Mon Jan 7 00:03:09 CET 2008
Author: martin.v.loewis
Date: Mon Jan 7 00:03:08 2008
New Revision: 59800
Modified:
tracker/instances/python-dev/detectors/cia.py
Log:
Change client as proposed by Georg.
Modified: tracker/instances/python-dev/detectors/cia.py
==============================================================================
--- tracker/instances/python-dev/detectors/cia.py (original)
+++ tracker/instances/python-dev/detectors/cia.py Mon Jan 7 00:03:08 2008
@@ -7,7 +7,7 @@
'name':'Roundup Reactor for CIA',
'revision': "$Revision$"[11:-2],
'project': 'python',
- 'module': 'Roundup',
+ 'branch': 'Roundup',
'urlprefix': 'http://bugs.python.org/issue',
}
@@ -21,11 +21,13 @@
</generator>
<source>
<project>%(project)s</project>
- <module>%(module)s</module>
+ <module>%(nodeid)s</module>
+ <branch>%(branch)s</branch>
</source>
<body>
<commit>
<author>%(author)s</author>
+ <files>%(files)s</files>
<log>%(log)s</log>
<url>%(urlprefix)s%(nodeid)s</url>
</commit>
@@ -42,13 +44,15 @@
return
messages = list(messages)
- log = '[#%s] ' % nodeid
+ log = ''
for msg in messages:
log += db.msg.get(msg, 'content')
if len(log) > max_content:
log = log[:max_content-4] + ' ...'
+ log = log.replace('\n', ' ')
params = parameters.copy()
+ params['files'] = db.msg.get(msg, 'title')
params['nodeid'] = nodeid
params['author'] = db.user.get(db.getuid(), 'username')
params['log'] = log
More information about the Python-checkins
mailing list