From: Zac Medico Date: Wed, 6 May 2009 16:48:35 +0000 (-0000) Subject: Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert X-Git-Tag: v2.2_rc34~212 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91bb938ce2990094decda1956b1cc81b304a3f70;p=portage.git Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=13617 --- 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')