#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:        
------------------------+---------------------------------------------------
Changes (by moschny):

 * cc: thomas.mosc...@… (added)


Comment:

 Replying to [ticket:1011 dustin]:
 > 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".

 It will in fact return `''`, not `'None'`, with latest devel revision.

 > Rather than alter the behavior of an existing feature, I think we should
 add another syntax, {{{:~}}}, that will turn anything false into the
 replacement.

 Agreed. (Although it's different from what shells do.)

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1011#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to