Wed Dec 14 18:27:40 EET 2005 [EMAIL PROTECTED]
* Widen name column in showforms output.
New patches:
[Widen name column in showforms output.
[EMAIL PROTECTED]
<
> {
hunk ./twill/utils.py 89
print 'Form #%d' % (n + 1,)
if f.controls:
- print "## __Name______ __Type___ __ID________ __Value__________________"
+ print "## __Name__________________ __Type___ __ID________ __Value__________________"
clickies = [c for c in f.controls if c.is_of_kind('clickable')]
nonclickies = [c for c in f.controls if c not in clickies]
hunk ./twill/utils.py 101
else:
value_displayed = "%s" % (field.value,)
strings = (" ",
- "%-12s %-9s" % (trunc(str(field.name), 12),
+ "%-24s %-9s" % (trunc(str(field.name), 24),
trunc(field.type, 9)),
"%-12s" % (trunc(field.id or "(None)", 12),),
trunc(value_displayed, 40),
hunk ./twill/utils.py 112
for n, field in enumerate(clickies):
strings = ("%-2s" % (n+1,),
- "%-12s %-9s" % (trunc(field.name, 12),
+ "%-24s %-9s" % (trunc(field.name, 24),
trunc(field.type, 9)),
"%-12s" % (trunc(field.id or "(None)", 12),),
trunc(field.value, 40),
}
Context:
[TAG release-0.8.1
[EMAIL PROTECTED]
Patch bundle hash:
5beb079810e3ade33f2b09364ff81841834d4f56
_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill