aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-05-06 16:48:35 +0000
committerZac Medico <zmedico@gentoo.org>2009-05-06 16:48:35 +0000
commit91bb938ce2990094decda1956b1cc81b304a3f70 (patch)
treefeddc870ce6a459c92ef05a829a32926ad0a5986 /pym/repoman
parenttweak output when diff access rights are needed (diff)
downloadportage-91bb938ce2990094decda1956b1cc81b304a3f70.tar.gz
portage-91bb938ce2990094decda1956b1cc81b304a3f70.tar.bz2
portage-91bb938ce2990094decda1956b1cc81b304a3f70.zip
Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert
<idl0r@g.o> for reporting. svn path=/main/trunk/; revision=13617
Diffstat (limited to 'pym/repoman')
-rw-r--r--pym/repoman/checks.py1
1 files changed, 1 insertions, 0 deletions
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')