[Buildbot-devel] Non string build properties

Alexander O'Donovan-Jones Alexander at ccpgames.com
Mon Sep 13 18:41:18 UTC 2010


Has anyone had any luck with non-string properties in a build? I'm currently parsing a log and pulling out some urls, which then get passed to aria2c for download.
The problem I'm having is that if I return them as one long string, such as "http://foo.com/bar.file http://ham.com/eggs.file" this gets put into the sys.argv list as a single argument, rather than individual ones, such as ['aria2c', '-Z', 'http://foo.com/bar.file http://ham.com/eggs.file'] which then fails.

Since they're in a property, I can't use normal list functionality, such as:

command = ['aria2c', '-Z']
command.extend(WithProperties('%(listproperty)s')

because the WithProperties object is a non-iterable object.

Anyone have any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100913/41b1e98c/attachment.html>


More information about the devel mailing list