From 5b5a593f49c80a679667a271d6aec2efeed30b9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 14 Jul 2010 10:56:35 +0200 Subject: [PATCH] Support BrE spelling 'licence' in UselessDodoc check. --- pym/repoman/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index c60cef0ef..b0d8b0bf0 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -247,7 +247,7 @@ class EbuildUselessDodoc(LineCheck): """Check ebuild for useless files in dodoc arguments.""" repoman_check_name = 'ebuild.minorsyn' uselessdodoc_re = re.compile( - r'^\s*dodoc(\s+|\s+.*\s+)(ABOUT-NLS|COPYING|LICENSE)($|\s)') + r'^\s*dodoc(\s+|\s+.*\s+)(ABOUT-NLS|COPYING|LICENCE|LICENSE)($|\s)') def check(self, num, line): match = self.uselessdodoc_re.match(line) -- 2.26.2