new select() helper

This commit is contained in:
Christophe Benz 2010-07-14 02:27:40 +02:00 committed by Romain Bignon
commit b4c672fa46
6 changed files with 67 additions and 51 deletions

View file

@ -18,7 +18,6 @@
import re
from weboob.tools.browser import ExpectedElementNotFound
from weboob.backends.aum.pages.base import PageBase
from logging import error
@ -47,4 +46,5 @@ class HomePage(PageBase):
i += 1
if i == 3:
return int(font.firstChild.data)
raise ExpectedElementNotFound(u'Could not parse number of charms available')
logging.warning(u'Could not parse number of charms available')
return 0