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