diff options
author | 2016-01-12 08:54:54 +0000 | |
---|---|---|
committer | 2016-01-12 14:26:12 +0000 | |
commit | 8d64a6c130dbfafa89159fa795877822ad645437 (patch) | |
tree | 8b202432c8dadce95a7d57cbc97d5838af2866a3 /third_party/java/apkbuilder/BUILD.tools | |
parent | 7e8a284cb87d5f4bcb4653e65b00915b0104ccc3 (diff) |
Don't break long words for debian control fields
By default wrapping can split on `-` characters which creates the chance that any
dependency with a `-` in it that falls near the wrap threshold will get
split along two lines and render the control file invalid.
> Text is preferably wrapped on whitespaces and right after the hyphens
> in hyphenated words; only then will long words be broken if necessary,
> unless TextWrapper.break_long_words is set to false.
https://docs.python.org/3.1/library/textwrap.html#textwrap.TextWrapper.break_long_words
Fixes #772.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/777
MOS_MIGRATED_REVID=111925490
Diffstat (limited to 'third_party/java/apkbuilder/BUILD.tools')
0 files changed, 0 insertions, 0 deletions