Goffi
a01bec718e
tools (config): complexe data can now be set using json and the "_json" suffix
2017-11-30 20:53:47 +01:00
Goffi
f5f25e8ab5
misc: date update (yes it's a bit late :p )
2017-11-03 14:31:42 +01:00
Goffi
6bbcbaf522
use of /usr/bin/env instead of /usr/bin/python in shebang
2016-04-17 14:45:26 +02:00
Goffi
0e1bf65f08
core (tools/config): fixed fixConfigOption:
...
C.DEFAULT_CONFIG was used so the default values were written if not set in the config file used, resulting in a overriding of values set in config files of higher level (e.g. ~/.config/sat/sat.conf could override /etc/sat.conf values).
2016-03-09 12:11:35 +01:00
Goffi
8403bd61ae
core (memory, config): moved parseMainConf to tools/config so it can be used by frontends too
2016-02-29 16:13:47 +01:00
Goffi
04a42fa9a3
core (config): getConfig now returns unicode and raise exceptions.ParsingError in case of parsing problem
2016-01-24 18:28:08 +01:00
Goffi
c5d6e545f5
core (config): _dict values are now handled with json syntax
2016-01-23 20:06:01 +01:00
Goffi
348be27934
copyright update
2016-01-03 16:28:30 +01:00
souliane
eaaa5e2164
tools (config): when reading a list or dict from the config file, ignore spaces immediately following the delimiter
2015-07-22 11:42:37 +02:00
souliane
67ff77e5de
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
2015-04-16 14:57:57 +02:00
Goffi
fbec02d396
2015 copyright dates update
2015-03-30 10:26:26 +02:00
Goffi
f14cce8a10
core (config): fixed a bad option check
2014-10-16 20:10:08 +02:00
Goffi
59d3994859
core (config): added the Exception default value which raise an exception instead of returning the default in getConfig
2014-10-11 16:26:43 +02:00
Goffi
6b20989ecc
core: better management of default value in getConfig
2014-10-07 17:12:41 +02:00
souliane
76413b3679
memory, tools (config): move special config retrieval from memory to tools
2014-06-09 20:40:13 +02:00
souliane
6f5de58d6e
tools (config): fixConfigOption creates the section if it doesn't exist
2014-06-08 17:27:03 +02:00
souliane
90115df6f1
tools: add missing file src/tools/config.py
2014-05-23 10:03:33 +02:00