Signed-off-by: Claudio Bley <cbley@xxxxxxxxxx> --- docs/apibuild.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/apibuild.py b/docs/apibuild.py index 7b336b3..63b21e1 100755 --- a/docs/apibuild.py +++ b/docs/apibuild.py @@ -654,17 +654,11 @@ class CParser: lines = string.split(comment, "\n") item = None for line in lines: - while line != "" and (line[0] == ' ' or line[0] == '\t'): - line = line[1:] - while line != "" and line[0] == '*': - line = line[1:] - while line != "" and (line[0] == ' ' or line[0] == '\t'): - line = line[1:] + line = line.lstrip().lstrip('*').lstrip() try: (it, line) = string.split(line, ":", 1) item = it - while line != "" and (line[0] == ' ' or line[0] == '\t'): - line = line[1:] + line = line.lstrip() if res.has_key(item): res[item] = res[item] + " " + line else: -- 1.7.9.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list