simplify and factorize code, remove dead code, follow conventions, use new-style classes

This commit is contained in:
Christophe Benz 2010-12-09 15:27:06 +01:00 committed by Romain Bignon
commit f1b3264a67
28 changed files with 202 additions and 251 deletions

View file

@ -17,9 +17,14 @@
from datetime import datetime, date, time
from weboob.tools.browser import BaseBrowser
from weboob.tools.parsers.lxmlparser import SelectElementException
from weboob.tools.misc import to_unicode
from weboob.tools.parsers.lxmlparser import SelectElementException
__all__ = ['CanalTP']
class CanalTP(BaseBrowser):
DOMAIN = 'widget.canaltp.fr'