commit:     47058bba9d8669118d6301ef4b48a0a8f3850477
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 07:48:00 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 16:26:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=47058bba

repoman: Set max DESCRIPTION length to 80, #562808

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
Acked-by: Zac Medico <zmedico <AT> gentoo.org>

 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 = {

Reply via email to