Skip to content

Commit

Permalink
PerforceExtractor: raise an exception if we couldn't extract the chan…
Browse files Browse the repository at this point in the history
…gelist number
  • Loading branch information
krajaratnam committed Jan 30, 2010
1 parent f881c60 commit 727446f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildbot/scripts/tryclient.py
Expand Up @@ -201,8 +201,9 @@ def parseStatus(self, res):
m = re.search(r'Change (\d+)',res)
if m:
self.baserev = m.group(1)
else:
self.baserev = res # the whole context file
return

raise IndexError("Could not find change number in output: %s" % res)

def readPatch(self, res, patchlevel):
#
Expand Down

0 comments on commit 727446f

Please sign in to comment.