[Buildbot-devel] Properties objects
Dustin J. Mitchell
dustin at zmanda.com
Wed Feb 11 13:48:05 UTC 2009
On Tue, Feb 10, 2009 at 6:39 PM, Ian Peters-Campbell
<mahatmamanic at gmail.com> wrote:
> d = {}
> d['f'oo'] = bar
> d['baz'] = quz
> p = Properties()
> p.update(d, "MY STUFF")
>
> request = BuildRequest(reason, source, builder, p)
Probably easier to write
request = BuildRequest(reason, source, builder,
Properties(foo=bar, baz=quz))
--
Storage Software Engineer
http://www.zmanda.com
More information about the devel
mailing list