[Buildbot-commits] [Buildbot] #1011: Add $(property:~replacement) syntax that turns anything false into replacement, too
Buildbot
buildbot-devel at lists.sourceforge.net
Thu Oct 14 14:59:34 UTC 2010
#1011: Add $(property:~replacement) syntax that turns anything false into
replacement, too
------------------------+---------------------------------------------------
Reporter: dustin | Owner: dustin
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.2
Version: 0.8.1 | Keywords:
------------------------+---------------------------------------------------
Description changed by dustin:
Old description:
> There are lots of places that properties are None, rather than missing.
> In these cases, the ~WithProperties %(property:-replacement)s syntax will
> return "None", rather than "replacement".
>
> Rather than alter the behavior of an existing feature, I think we should
> add another syntax, {{{:~}}}, that will turn anything false into the
> replacement.
New description:
There are lots of places that properties are None, rather than missing.
In these cases, the !WithProperties %(property:-replacement)s syntax will
return "None", rather than "replacement".
Rather than alter the behavior of an existing feature, I think we should
add another syntax, {{{:~}}}, that will turn anything false into the
replacement.
--
--
Ticket URL: <http://buildbot.net/trac/ticket/1011#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list