buildbot/buildbot — pull request #563 by jaredgrubb (2012-11-02 01:19:33+00:00)
Title: Fix Interpolate bug: need to check for None in one of the Interpolate pa...

I had a bug in my script where I was missing one of the pieces of an Interpolate call.

The try-except above this sets the local vars to None in the error case, and prints a config error, but then the regex match fails to match on None and creates a traceback.

This removes the traceback so that the "buildbot reconfig" fails gracefully.

There really is no way to test this. We are already checking that a failure is triggered in this case, but there's not really a way for us to check that it "fails better".