Skip to content

Commit

Permalink
fix non-backward-compatible python in change_hook.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Oct 6, 2010
1 parent 5e920d5 commit a09caa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/status/web/change_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def render_POST(self, request):

try:
changes = self.getChanges( request )
except ValueError as err:
except ValueError, err:
request.setResponseCode(400, err.args[0])
return err.args[0]

Expand Down

0 comments on commit a09caa3

Please sign in to comment.