Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] repoman: Set max DESCRIPTION length to 80, #562808
Date: Mon, 12 Oct 2015 07:52:59
Message-Id: 1444636365-1928-1-git-send-email-mgorny@gentoo.org
1 Correct the max DESCRIPTION length in qa_data, and remove the comment
2 confusingly suggesting that the variable name is taken into the count.
3
4 Bug: https://bugs.gentoo.org/show_bug.cgi?id=562808
5 ---
6 pym/repoman/qa_data.py | 3 +--
7 1 file changed, 1 insertion(+), 2 deletions(-)
8
9 diff --git a/pym/repoman/qa_data.py b/pym/repoman/qa_data.py
10 index dddfb98..df9b836 100644
11 --- a/pym/repoman/qa_data.py
12 +++ b/pym/repoman/qa_data.py
13 @@ -7,8 +7,7 @@ from _emerge.Package import Package
14 # import our initialized portage instance
15 from repoman._portage import portage
16
17 -# 14 is the length of DESCRIPTION=""
18 -max_desc_len = 100
19 +max_desc_len = 80
20 allowed_filename_chars = "a-zA-Z0-9._-+:"
21
22 qahelp = {
23 --
24 2.6.1

Replies