repoman: variable.usedwithhelpers tighten regex
authorZac Medico <zmedico@gentoo.org>
Sat, 19 Feb 2011 23:49:13 +0000 (15:49 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 19 Feb 2011 23:49:13 +0000 (15:49 -0800)
This will fix bug #355621.

pym/repoman/checks.py

index 8f61c07c4546e2e22f143fea17c9e933db32ba43..5bf039b99daf25c47087eaf0e285f508d21bce8c 100644 (file)
@@ -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):