* pisi info output format for components.

This commit is contained in:
Faik Uygur
2006-08-14 13:29:21 +00:00
parent 1aec0d2aca
commit ac98e31321
+2 -7
View File
@@ -764,15 +764,10 @@ class autoxml(oo.autosuper, oo.autoprop):
return errs return errs
def format(l, f, errs): def format(l, f, errs):
# TODO: indent here l.sort()
ix = 1
length = len(l)
for node in l: for node in l:
f.add_flowing_data(str(ix) + ': ')
format_item(node, f, errs) format_item(node, f, errs)
if ix != length: f.add_literal_data(' ')
f.add_flowing_data(', ')
ix += 1
return (init, decode, encode, errors, format) return (init, decode, encode, errors, format)