1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-11 21:41:53 +03:00

fix a bug introduced when fixing #438208 and reported by Ashwin fix an

* tree.c: fix a bug introduced when fixing #438208 and reported by
  Ashwin
* python/generator.py: fix an infinite loop bug
Daniel

svn path=/trunk/; revision=3733
This commit is contained in:
Daniel Veillard
2008-04-08 08:20:08 +00:00
parent 354cf5c7e4
commit ed939f8e06
3 changed files with 11 additions and 2 deletions

View File

@ -849,6 +849,9 @@ def writeDoc(name, args, indent, output):
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: