buildbot/buildbot — pull request #513 by pepsiman (2012-09-03 14:29:34+00:00)
Title: Fix ternary replacements that contain :- :~ or :+

WithProperties("%(foo:#?:-bar:baz)s") doesn't behave as I expect. Is my expectation wrong?
yes?
how do you expect it to behave
and how does it behave?
I expect "-bar" when foo is True
I get "bar:baz"
colon_minus() is executed instead of colon_ternary()
yeah, looks like your expectation is correct