Skip to content
Snippets Groups Projects
Commit 73527500c2a4 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fix an infinite loop bug Daniel

* python/generator.py: fix an infinite loop bug
Daniel

svn path=/trunk/; revision=1464
parent 3fbd08de5a99
No related branches found
No related tags found
No related merge requests found
Tue Apr 8 10:19:01 CEST 2008 Daniel Veillard <daniel@veillard.com>
* python/generator.py: fix an infinite loop bug
Thu Apr 3 09:32:49 CEST 2008 Daniel Veillard <daniel@veillard.com>
* libxslt/xsltutils.c: avoid a scary realloc() loop should fix #520383
......
......@@ -673,6 +673,9 @@
output.write(indent)
output.write('"""')
while len(val) > 60:
if val[0] == " ":
val = val[1:]
continue
str = val[0:60]
i = string.rfind(str, " ");
if i < 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment