by whitespace. This filters out false positives triggered by sed expressions in
net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego
Pettenò <flameeyes@g.o> for reporting.
svn path=/main/trunk/; revision=12265
"""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):