Romain Bignon
b157e92d5b
use decimal.Decimal instead of float to store amounts of money
2012-03-29 16:31:18 +02:00
Laurent Bachelier
006e97a8be
PEP8 style fixes and other small style fixes
...
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.
Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
change to a comment something that wasn't really appropriate for a
docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +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
d42ac3ea0d
store 'ROOT' special section in a constant
2010-11-14 21:47:43 +01:00
Romain Bignon
9a5b726013
use OrderedDict and fix parsing of path-like in INI files
2010-11-14 14:11:38 +01:00
Laurent Bachelier
e5d4047016
Use basestring instead of str and unicode
2010-11-12 18:52:50 +01:00
Romain Bignon
ebe29a061f
new method 'delete' in storage and config
2010-11-11 01:11:00 +01:00
Christophe Benz
cd08025ee2
bugfix with recursive func
2010-08-02 16:44:41 +02: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
183f16eeed
code clean/enhance
2010-04-20 18:59:51 +02:00
Christophe Benz
b81e681131
introduce ini config for frontends, by default
2010-04-19 19:10:36 +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
Romain Bignon
2cb52beba5
new frontend configuration system
2010-04-01 20:06:49 +02:00