[Buildbot-devel] Using dictionaries with WithProperties objects

Alexander O'Donovan-Jones Alexander at ccpgames.com
Tue Dec 29 13:35:39 UTC 2009


Does anyone know of a way to use WithProperties objects in conjunction with a dictionary.
I've a dictionary containing some data like so:
d = {'foo':'bar', 'fooo':'baar'}

I can't simply do a d[WithProperties('%(var)s')] call, since that will raise a KeyError when the cfg file is compiled.
Any thoughts? Even a simple monkey patch would be useful if anyone has an idea along that avenue.

Alex O'Donovan-Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20091229/6457bea5/attachment.html>


More information about the devel mailing list