Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
[opensuse-buildservice] [osc] question using osc in python
  • From: "Jan-Simon Möller" <dl9pf@xxxxxx>
  • Date: Tue, 7 Apr 2009 08:15:47 +0200
  • Message-id: <200904070815.47998.dl9pf@xxxxxx>

If I create a new api definition in conf.config - how can I write it to disk ?

I start with:

from osc import conf, core


<now inserting new definition to conf.config['api_host_options'])

conf.config['api_host_options'][""]["http_headers";] = []
conf.config['api_host_options'][""]["user";] = "spock"
conf.config['api_host_options'][""]["pass";] = "ncc1701d"

Probably I can't see the wood for the trees - how can i write stuff to .oscrc
now ?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups