Fri Dec 2 13:30:37 EET 2005 [EMAIL PROTECTED]
* Avoid untrue error message when no clickies are found.
Used to set found_multiple even when clickies==[],
which lead to error message "multiple matches to ..",
when the right error message was "no field matches ..".
New patches:
[Avoid untrue error message when no clickies are found.
[EMAIL PROTECTED]
Used to set found_multiple even when clickies==[],
which lead to error message "multiple matches to ..",
when the right error message was "no field matches ..".
] {
hunk ./twill/browser.py 362
- if len(clickies) == 1:
- found = clickies[0]
- else:
- found_multiple = True # record for error
+ if clickies:
+ if len(clickies) == 1:
+ found = clickies[0]
+ else:
+ found_multiple = True # record for error
}
Context:
[updated version to 0.8.1, prophylactically
[EMAIL PROTECTED]
[added ctb-notes
[EMAIL PROTECTED]
[TAG release-0.8
[EMAIL PROTECTED]
Patch bundle hash:
a593b64229b50140e361b030589708f9e7745821
_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill