weboob-devel/weboob/core
Florent 0e3e32adb1 Do not import exceptions of requests / load browser if needed
The import process of requests is very expensive: it imports all urllib,
and a lot of stuff. It is a problem on slow hardware, for applications
not running browser2 (example: weboob-config update).

This patch has two mains parts:
 * introduces load_browser to load a browser only if needed (a lot of repository
   processing does not need a browser)
 * Do not import exceptions of requests, but use Weboob internals one

Before: 6455 open/190 modules imported
After: 3997 open/112 modules
2014-07-09 10:54:33 +02:00
..
__init__.py add class WebNip 2013-08-18 16:30:23 +02:00
backendscfg.py first step in python3 support 2014-05-17 14:27:55 +02:00
bcall.py rename CapBaseObject to BaseObject (refs #1424) 2014-07-05 17:26:05 +02:00
modules.py Add support for BASEURL instead of PROTOCOL+DOMAIN 2014-03-22 12:43:53 +01:00
ouiboube.py rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
repositories.py Do not import exceptions of requests / load browser if needed 2014-07-09 10:54:33 +02:00
scheduler.py first step in python3 support 2014-05-17 14:27:55 +02:00