Laurent Bachelier
28d16c01eb
Allow a default equal to None
...
get(..., default=None) will now be able to work.
2014-05-16 11:44:29 +02:00
Laurent Bachelier
fd5901b00e
Use NamedTemporaryFile(delete=False) instead of mkstemp
2013-07-27 15:42:23 +02:00
Romain Bignon
c0740e695d
remove useless import of with_statement (we do not support anymore python2.5)
...
refs #806
2013-07-27 14:38:18 +02:00
Laurent Bachelier
be3e19a203
try/except import are now handled by flake8 2.0+ / pyflakes 0.6+
2013-03-19 19:10:20 +01:00
Laurent Bachelier
541d080c9d
Use flake8 if available instead of pyflakes
...
With flake8, we can check for more issues and ignore those who are not
real issues.
This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.
Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Laurent Bachelier
64bf35a7e9
Use libyaml for faster loading and saving
...
if installed
2012-03-06 19:11:02 +01:00
Romain Bignon
1a09a5d43d
get(): do not store default value in tree if key is not found
2012-02-19 12:45:57 +01:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Christophe Benz
f924c0aa92
add debug message
2010-11-19 11:22:02 +01:00
Romain Bignon
ebe29a061f
new method 'delete' in storage and config
2010-11-11 01:11:00 +01:00
Christophe Benz
ae4b7cd23b
s/frontend/application/
2010-07-11 02:13:45 +02:00
Romain Bignon
46d00b4c79
more portable solution of saving in a temp file
2010-07-01 11:55:51 +02:00
Romain Bignon
907973a041
firstly write config in a temporary file to avoid corruption
2010-07-01 11:34:01 +02:00
Christophe Benz
470f2a9fe2
use real comments for licence header
2010-06-22 16:27:33 +02:00
Christophe Benz
cebcead318
add __all__ variable to many modules
2010-04-16 18:11:52 +02:00
Christophe Benz
239c4ddeb3
save default frontend config
2010-04-08 16:07:31 +02:00
Romain Bignon
82e9108aa8
fix yaml config loader
2010-04-03 18:31:17 +02:00