public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] [PATCH] repoman: Set max DESCRIPTION length to 80, #562808
  @ 2015-10-12 15:58 99% ` Zac Medico
  0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2015-10-12 15:58 UTC (permalink / raw
  To: gentoo-portage-dev

On 10/12/2015 12:52 AM, Michał Górny wrote:
> Correct the max DESCRIPTION length in qa_data, and remove the comment
> confusingly suggesting that the variable name is taken into the count.
> 
> Bug: https://bugs.gentoo.org/show_bug.cgi?id=562808
> ---
>  pym/repoman/qa_data.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/pym/repoman/qa_data.py b/pym/repoman/qa_data.py
> index dddfb98..df9b836 100644
> --- a/pym/repoman/qa_data.py
> +++ b/pym/repoman/qa_data.py
> @@ -7,8 +7,7 @@ from _emerge.Package import Package
>  # import our initialized portage instance
>  from repoman._portage import portage
>  
> -# 14 is the length of DESCRIPTION=""
> -max_desc_len = 100
> +max_desc_len = 80
>  allowed_filename_chars = "a-zA-Z0-9._-+:"
>  
>  qahelp = {
> 

Looks good.
-- 
Thanks,
Zac


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-10-12  7:52     [gentoo-portage-dev] [PATCH] repoman: Set max DESCRIPTION length to 80, #562808 Michał Górny
2015-10-12 15:58 99% ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox