Skip to content

Commit

Permalink
Fix matching of directory enter/leave paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Nielsen committed Oct 2, 2009
1 parent e177c92 commit 9bd4602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildbot/steps/shell.py
Expand Up @@ -516,12 +516,12 @@ def createSummary(self, log):
# stderr
for line in log.getText().split("\n"):
if directoryEnterRe:
match = directoryEnterRe.match(line)
match = directoryEnterRe.search(line)
if match:
self.directoryStack.append(match.group(1))
if (directoryLeaveRe and
self.directoryStack and
directoryLeaveRe.match(line)):
directoryLeaveRe.search(line)):
self.directoryStack.pop()

match = wre.match(line)
Expand Down

0 comments on commit 9bd4602

Please sign in to comment.