buildbot/buildbot — pull request #562 by jaredgrubb (2012-11-02 01:16:35+00:00)
Title: Fix none check in Interpolate

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".