From 91bb938ce2990094decda1956b1cc81b304a3f70 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 May 2009 16:48:35 +0000 Subject: Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=13617 --- pym/repoman/checks.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym/repoman') diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 78875b4c0..7dfbc8124 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -232,6 +232,7 @@ class EapiDefinition(LineCheck): class SrcUnpackPatches(LineCheck): repoman_check_name = 'ebuild.minorsyn' + ignore_line = re.compile(r'(^\s*#)') src_unpack_re = re.compile(r'^src_unpack\(\)') func_end_re = re.compile(r'^\}$') src_prepare_tools_re = re.compile(r'\s(e?patch|sed)\s') -- cgit v1.2.3-1-g7c22