Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).
commit7467883699f790e84ab839cb58049e6832d13368
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 26 Mar 2010 08:37:17 +0000 (26 08:37 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 26 Mar 2010 08:37:17 +0000 (26 08:37 +0000)
tree6b5d3b81c4f93c408844cd2641d11b6299b60271
parent0b9e8a61f9e6dcc7b00eb962d32a773eb28609b1
Fix [ 2975987 ] repr(Text) failed with long string (Jeffrey C. Jacobs).

The py3k compatibility code introduced a type error that went
unnoticed because there was no test for the trimming of long strings.

git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk/docutils@6293 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
HISTORY.txt
docutils/nodes.py
test/test_nodes.py