[twill] Empty space fo : form = output.getvalue()
Mariusz
kajko04 at o2.pl
Fri Sep 7 17:54:19 PDT 2007
Hi Titus
I was using twill 9, and I just update twill to latest version.
When I execute output.getvalue() it show me output with a lot of empty lines.
See empty space between lines:
select form 1 -1
.....
select form 1 -2
Looks like in each loop the number of those line incress.
Can you eliminate those empty lines?
I attached code and output
Thank you
Mariusz Antonik
Code:
....
print "select form 1 -1"
try:
b.showforms()
except:
print "can't process showforms()"
return -1
form_number=-1
form_list = output.getvalue()
#print form_list
print "select form 1 -2 "
....
Output:
select form 1 -1
select form 1 -2
form_number: 1
login to web
login to site succesfull
select form 1 -1
select form 1 -2
SEND ADS form_number: 6
....
Select form to send ad
select form 1 -1
select form 1 -2
More information about the twill
mailing list