summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-07-14 10:56:35 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-14 02:26:44 -0700
commit5b5a593f49c80a679667a271d6aec2efeed30b9b (patch)
tree0b738af11105bcd41732a297ef65e1489429a9bd
parenta4281952780b0d91adbe75b2728d3d70e1974da6 (diff)
downloadportage-5b5a593f49c80a679667a271d6aec2efeed30b9b.tar.gz
portage-5b5a593f49c80a679667a271d6aec2efeed30b9b.tar.bz2
portage-5b5a593f49c80a679667a271d6aec2efeed30b9b.zip
Support BrE spelling 'licence' in UselessDodoc check.
-rw-r--r--pym/repoman/checks.py2
1 files changed, 1 insertions, 1 deletions
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)