From: Zac Medico Date: Sat, 19 Feb 2011 23:49:13 +0000 (-0800) Subject: repoman: variable.usedwithhelpers tighten regex X-Git-Tag: v2.1.9.41~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcc2a5909fcd877030aa997408c87ee8dd7bb3b6;p=portage.git repoman: variable.usedwithhelpers tighten regex This will fix bug #355621. --- diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 8f61c07c4..5bf039b99 100644 --- 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)\b.*') error = errors.NO_OFFSET_WITH_HELPERS class ImplicitRuntimeDeps(LineCheck):