diff options
| author | Jules Aguillon <jules@j3s.fr> | 2022-01-20 18:49:54 +0100 |
|---|---|---|
| committer | Jules Aguillon <jules@j3s.fr> | 2022-01-20 18:49:54 +0100 |
| commit | 4baf8548fbf9957b53418e0aad06bd6a798c283e (patch) | |
| tree | 1d4843631527de72f1aa1e66dfd8747fc29b1d8e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f25a13212be9bd716db9420a59cb74ecab02937a (diff) | |
types.singleLineStr: Allow and trim trailing \n
Allow a \n character at the end of the string and remove it during the
merge function.
An option of this type will resolve to the value "foo" whether it is set
to "foo" or "foo\n".
This is useful when using 'builtins.readFile' or ''-strings, which might
add an unintended newline (for example, bash trim the final newline from
a subshell).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
