[Buildbot-devel] Non string build properties
Alexander O'Donovan-Jones
Alexander at ccpgames.com
Tue Sep 14 10:27:47 UTC 2010
Ahha, exactly what I needed! I had been banging my head against this all day, and just couldn't see it :)
I went with this:
Command = [WithProperties('aria2c -Z %(listproperty)s'),]
Which works flawlessly.
-----Original Message-----
From: Aurelien Bompard [mailto:aurelien at bompard.org]
Sent: Monday, September 13, 2010 7:03 PM
To: buildbot-devel at lists.sourceforge.net
Subject: Re: [Buildbot-devel] Non string build properties
> command = ['aria2c', '-Z']
> command.extend(WithProperties('%(listproperty)s')
>
> because the WithProperties object is a non-iterable object.
>
> Anyone have any ideas?
How about defining the command as a string :
command = WithProperties("aria2c -Z %(listproperty)s") In this case I think it's called in a shell, so spaces delimit arguments.
Aurélien
--
http://aurelien.bompard.org ~~~~ Jabber : abompard at jabber.fr "Everyone thinks of changing the world, but no one thinks of changing himself." -- Tolstoï
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list