From bcacfe9c1861d6efa250756f1380400e720eff7c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 20 Dec 2008 20:22:39 +0000 Subject: [PATCH] =?utf8?q?Adjust=20the=20EbuildNestedDie=20pattern=20so=20?= =?utf8?q?that=20it=20only=20matches=20when=20(=20is=20surrounded=20by=20w?= =?utf8?q?hitespace.=20This=20filters=20out=20false=20positives=20triggere?= =?utf8?q?d=20by=20sed=20expressions=20in=20net-analyzer/amap-5.2-r1=20and?= =?utf8?q?=20media-libs/libsndfile-1.0.17-r1.=20Thanks=20to=20Diego=20Pett?= =?utf8?q?en=C3=B2=20=20for=20reporting.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=12265 --- pym/repoman/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 6f2c076c3..7565039f2 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -177,7 +177,7 @@ class EbuildNestedDie(LineCheck): """Check ebuild for nested die statements (die statements in subshells""" repoman_check_name = 'ebuild.nesteddie' - nesteddie_re = re.compile(r'^[^#]*\([^)]*\bdie\b') + nesteddie_re = re.compile(r'^[^#]*\s\(\s[^)]*\bdie\b') def check(self, num, line): if self.nesteddie_re.match(line): -- 2.26.2