From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EA4FC138A2F for ; Tue, 19 Aug 2014 07:16:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83266E0938; Tue, 19 Aug 2014 07:16:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3FBDE0938 for ; Tue, 19 Aug 2014 07:16:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F284340245 for ; Tue, 19 Aug 2014 07:16:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 754E83BBB for ; Tue, 19 Aug 2014 07:01:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1407666689.bbb34efebd0bfc0b231073d00b863b3e3ebd918a.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman X-VCS-Directories: bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bbb34efebd0bfc0b231073d00b863b3e3ebd918a X-VCS-Branch: master Date: Tue, 19 Aug 2014 07:01:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1b67aa94-c7bc-41f6-99bd-381604f8254f X-Archives-Hash: 38ac0ce20c6232d0dcb9cf469c83c173 commit: bbb34efebd0bfc0b231073d00b863b3e3ebd918a Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Sun Aug 10 10:31:29 2014 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 10 10:31:29 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bbb34efe repoman: Do not report DESCRIPTION.punctuation warning for "etc.". --- bin/repoman | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 71fc7f0..bd9ad15 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1895,7 +1895,11 @@ for x in effective_scanlist: stats[myqakey] += 1 fails[myqakey].append(relative_path) - if myaux['DESCRIPTION'][-1:] in ['.']: + # Abbreviations usable at the end of sentence. + abbreviations = ( + 'etc.', + ) + if myaux['DESCRIPTION'][-1:] == '.' and not myaux['DESCRIPTION'].split()[-1] in abbreviations: stats['DESCRIPTION.punctuation'] += 1 fails['DESCRIPTION.punctuation'].append( "%s: DESCRIPTION ends with a '%s' character"