projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebc367
)
Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian Ruppert
author
Zac Medico
<zmedico@gentoo.org>
Wed, 6 May 2009 16:48:35 +0000
(16:48 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 6 May 2009 16:48:35 +0000
(16:48 -0000)
<idl0r@g.o> for reporting.
svn path=/main/trunk/; revision=13617
pym/repoman/checks.py
patch
|
blob
|
history
diff --git
a/pym/repoman/checks.py
b/pym/repoman/checks.py
index 78875b4c08a072c52b8e4a1e83f840b2f09b511f..7dfbc8124c879b9aff80dd3700635370f182b2a1 100644
(file)
--- 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')