projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d668d
)
repoman: variable.usedwithhelpers ignore comments
author
Zac Medico
<zmedico@gentoo.org>
Sun, 13 Feb 2011 07:50:08 +0000
(23:50 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Feb 2011 04:26:40 +0000
(20:26 -0800)
This will fix bug #354685.
pym/repoman/checks.py
patch
|
blob
|
history
diff --git
a/pym/repoman/checks.py
b/pym/repoman/checks.py
index 7e5a8a18acef964f4b7971781ebc824647d078a8..8f61c07c4546e2e22f143fea17c9e933db32ba43 100644
(file)
--- a/
pym/repoman/checks.py
+++ b/
pym/repoman/checks.py
@@
-333,7
+333,7
@@
class NoOffsetWithHelpers(LineCheck):
helpers """
repoman_check_name = 'variable.usedwithhelpers'
- re = re.compile(r'
.
*\b(dodir|dohard|exeinto|insinto|into)\s+"?\$\{?(D|ROOT|ED|EROOT|EPREFIX)\}?.*')
+ re = re.compile(r'
^[^#]
*\b(dodir|dohard|exeinto|insinto|into)\s+"?\$\{?(D|ROOT|ED|EROOT|EPREFIX)\}?.*')
error = errors.NO_OFFSET_WITH_HELPERS
class ImplicitRuntimeDeps(LineCheck):