** Changed in: sikuli
Status: Fix Released = Incomplete
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/777037
Title:
X-1.0rc2: findAll() fails instead of returning None --- doc to be
@ anatoly: ?
I have changed the docs, so it should be clearer now.
findAll() like all implicit and explicit find operations raise exception
FindFailed in case of not found. So they only come back and return None
in case FindFailded should be ignored (Region.setThrowException(False)).
**
** Description changed:
- the docs have to be updated to reflect the current behavior of findAll()
+ the docs have to be updated to clearly describe the current behavior of
findAll()
--
According to docs, findAll()
Had a look at the docs:
It is a bit tricky, if you look only at the description of findAll():
Returns: None if not found
But in the preface of class Region, it says:
As a default, if the visual object (image or text) cannot be found,
Sikuli will stop the script by raising an Exception
** Changed in: sikuli
Status: Fix Committed = Fix Released
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/777037
Title:
X-1.0rc2: findAll() fails instead of returning None --- doc to be
5 matches
Mail list logo