[Buildbot-devel] Retrieve dictionary entry from dict Property

Francesco Di Mizio francescodimizio at gmail.com
Tue Feb 10 11:20:22 UTC 2015


What do you mean by extracting? Do you want end up having an other property
within your builder?

If so you can use the SetProperty to which you pass the dict you will
extract that property from.

On Tue, Feb 10, 2015 at 8:13 AM, Hugh Sorby <h.sorby at auckland.ac.nz> wrote:

>  Hi All,
>
>  I was wondering if it is possible to retrieve an entry from a dictionary
> using Property.  I have an 'env' property that I wish to extract the 'PATH'
> entry from, can I do something like this
>
>  PATH=Property('env["PATH"]')
>
>  ?
>
>  Thanks,
> Hugh.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150210/1490f9fc/attachment.html>


More information about the devel mailing list