diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-12-20 20:24:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-12-20 20:24:11 +0000 |
commit | 724668cda60647914321a2d67c2c471802ba694d (patch) | |
tree | 9fe1df23ca79fd80ce28f293272b7e78fd54fc39 | |
parent | 7fc87110566e5910ba7b597297f130c853e1dba6 (diff) | |
download | portage-724668cda60647914321a2d67c2c471802ba694d.tar.gz portage-724668cda60647914321a2d67c2c471802ba694d.tar.bz2 portage-724668cda60647914321a2d67c2c471802ba694d.zip |
Simplify the InheritAutotools pattern by using \b to match word boundaries.
(trunk r12264)
svn path=/main/branches/2.1.6/; revision=12266
-rw-r--r-- | pym/repoman/checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 6778c8c58..6f2c076c3 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -242,8 +242,8 @@ class InheritAutotools(LineCheck): _autotools_funcs = ( "eaclocal", "eautoconf", "eautoheader", "eautomake", "eautoreconf", "_elibtoolize") - _autotools_func_re = re.compile(r'(^|\s|\|\||&&)(' + \ - "|".join(_autotools_funcs) + r')(\s|\|\||&&|\\?$)') + _autotools_func_re = re.compile(r'\b(' + \ + "|".join(_autotools_funcs) + r')\b') # Exempt eclasses: # git - An EGIT_BOOTSTRAP variable may be used to call one of # the autotools functions. |