← Back to team overview

configglue team mailing list archive

[Merge] lp:~ricardokirkner/configglue/849937-raw-dict into lp:configglue

 

The proposal to merge lp:~ricardokirkner/configglue/849937-raw-dict into lp:configglue has been updated.

Description changed to:

Added tests for supporting python formatting syntax

When using json syntax (on dicts) you can use %(name)s directly, but when using the old section-based syntax, the % needs to be escaped.

Examples

-- json syntax

[logging]
formatters = {"sample": {"format": "%(name)s"}}

-- section-based syntax

[logging]
formatters = logging_formatters

[logging_formatters]
sample = sample_formatter

[sample_formatter]
format = %%(name)s

For more details, see:
https://code.launchpad.net/~ricardokirkner/configglue/849937-raw-dict/+merge/77619
-- 
https://code.launchpad.net/~ricardokirkner/configglue/849937-raw-dict/+merge/77619
Your team Configglue developers is requested to review the proposed merge of lp:~ricardokirkner/configglue/849937-raw-dict into lp:configglue.


References