[Python-checkins] r59735 - tracker/instances/python-dev/detectors/cia.py
martin.v.loewis
python-checkins at python.org
Sat Jan 5 12:25:29 CET 2008
Author: martin.v.loewis
Date: Sat Jan 5 12:25:28 2008
New Revision: 59735
Modified:
tracker/instances/python-dev/detectors/cia.py
Log:
Fix max_content handling.
Modified: tracker/instances/python-dev/detectors/cia.py
==============================================================================
--- tracker/instances/python-dev/detectors/cia.py (original)
+++ tracker/instances/python-dev/detectors/cia.py Sat Jan 5 12:25:28 2008
@@ -46,7 +46,7 @@
for msg in messages:
log += db.msg.get(msg, 'content')
if len(log) > max_content:
- log = log[:-4] + ' ...'
+ log = log[:max_content-4] + ' ...'
params = parameters.copy()
params['nodeid'] = nodeid
More information about the Python-checkins
mailing list