diff options
author | Daniel Drake <dsd@laptop.org> | 2011-01-17 21:22:35 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2011-01-17 21:24:25 (GMT) |
commit | 572b64d1312a83d4fcdfaa484ef318b82b90b6ad (patch) | |
tree | 579e4d6d8117e5b923416a7b2fa0cc05adcef714 /doc | |
parent | 5b0949640f963f2456e2f3520692237e2c526e2e (diff) |
Switch to SafeConfigParser (#10608)
As suggested by Martin Langhoff, we should be using SafeConfigParser
which is more predictable than the now-discouraged ConfigParser.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -90,7 +90,7 @@ the first one are indented, e.g.: option2=foo Interpolation (basic assignment and use of variables) can be used, according -to Python's ConfigParser documentation. +to Python's SafeConfigParser documentation. Default variables automatically provided: @@ -133,9 +133,12 @@ olpc_version_release image_name The naming scheme to use for the output files. The value of this field - must include "%d", this will be replaced with the build number. For - example, a value of "per%d-6" would result the output being called - "per703-6" for build number 703. The default value is "os%d" + must include "%%d", this will be replaced with the build number. + For example, a value of "per%%d-6" would result the output being called + "per703-6" for build number 703. The default value is "os%%d". + The reason that 2 percentage signs are needed is because RawConfigParser + is in use; a % therefore triggers the INI interpolation feature, unless + presented in the escaped form %%. customization_info |