From 3ff0728480f4b9b5e1ba36537960f107f274b4b7 Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Sun, 1 Apr 2018 02:08:48 -0300 Subject: [PATCH] scanpypi: generate help text compliant to check-package Each line must fit in <2 spaces><62 chars>. The default width for textwrap.wrap() is 70, so explicit set it to 62. Signed-off-by: Ricardo Martincoski Cc: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- utils/scanpypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ') -- 2.30.2