From ac98e31321c533d8f48614dd894c4aa9a5d8d635 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 14 Aug 2006 13:29:21 +0000 Subject: [PATCH] * pisi info output format for components. --- pisi/pxml/autoxml.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pisi/pxml/autoxml.py b/pisi/pxml/autoxml.py index e6c522f9..eb8d0f0e 100644 --- a/pisi/pxml/autoxml.py +++ b/pisi/pxml/autoxml.py @@ -764,15 +764,10 @@ class autoxml(oo.autosuper, oo.autoprop): return errs def format(l, f, errs): - # TODO: indent here - ix = 1 - length = len(l) + l.sort() for node in l: - f.add_flowing_data(str(ix) + ': ') format_item(node, f, errs) - if ix != length: - f.add_flowing_data(', ') - ix += 1 + f.add_literal_data(' ') return (init, decode, encode, errors, format)