Skip to content

Commit

Permalink
Whoops - regexp typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Peet committed Dec 15, 2013
1 parent 2fa7e66 commit 53ae279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/loader/interfaces/jenkins_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def getVersion (i):
if out: return out

if isinstance(i, (basestring, str)):
m = re.search('[[0-9].[0-9].[0-9]{1,2}(-R[0-9].[0-9])?', i)
m = re.search('[0-9].[0-9].[0-9]{1,2}(-R[0-9].[0-9])?', i)
if m: return m.group(0)

return False
Expand All @@ -55,4 +55,4 @@ def load(self, channel, last_build):
out = self.getBuildData(build)
if out: builds.append(out)

return builds
return builds

0 comments on commit 53ae279

Please sign in to comment.