aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Ricardo Martincoski <ricardo.martincoski@gmail.com>2018-04-01 02:08:48 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-01 10:16:09 +0200
commit3ff0728480f4b9b5e1ba36537960f107f274b4b7 (patch)
treeb442cec0e20e12c65dd48e3add3b6f88227a0ede /utils
parent73f77570076db97ba2bdcf93fb84d348d278389a (diff)
downloadbuildroot-3ff0728480f4b9b5e1ba36537960f107f274b4b7.tar.gz
buildroot-3ff0728480f4b9b5e1ba36537960f107f274b4b7.tar.bz2
scanpypi: generate help text compliant to check-package
Each line must fit in <tab><2 spaces><62 chars>. The default width for textwrap.wrap() is 70, so explicit set it to 62. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/scanpypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/scanpypi b/utils/scanpypi
index df8939b82e..f03ad0bb64 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -583,7 +583,7 @@ class BuildrootPackage():
lines.append('\thelp\n')
- help_lines = textwrap.wrap(self.metadata['info']['summary'],
+ help_lines = textwrap.wrap(self.metadata['info']['summary'], 62,
initial_indent='\t ',
subsequent_indent='\t ')