Mailinglist Archive: opensuse-buildservice (142 mails)

< Previous Next >
Re: [opensuse-buildservice] calling osc from Python scripts
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Wed, 7 Aug 2013 23:31:30 +0200
  • Message-id: <20130807213130.GA2478@linux>
On 2013-08-05 08:44:18 +0200, Karsten Keil wrote:
Am 31.07.2013 14:24, schrieb Marcus Hüwe:


If needed I can also adjust the babysitter so that you can pass a
"command" to its "run" method.

For my application it's not needed, but in general it maybe a good idea
to have this option.

I just added an optional argv parameter to the babysitter's run method.
It can be used like this:

from osc import babysitter, commandline
cli = commandline.Osc(), ['osc', 'ls', 'home:Marcus_H'])

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >