mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
correct last fix: set scheme in DEFAULTS not in the comment.
This commit is contained in:
parent
4f61fc4bb0
commit
a94364d95b
@ -18,7 +18,7 @@ After reading the config, urllib2 is initialized.
|
|||||||
The configuration dictionary could look like this:
|
The configuration dictionary could look like this:
|
||||||
|
|
||||||
{'apisrv': 'api.opensuse.org',
|
{'apisrv': 'api.opensuse.org',
|
||||||
'scheme': 'https',
|
'scheme': 'http',
|
||||||
'user': 'poeml',
|
'user': 'poeml',
|
||||||
'pass': 'secret',
|
'pass': 'secret',
|
||||||
'auth_dict': {'api.opensuse.org': {'user': 'poeml', 'pass': 'secret'},
|
'auth_dict': {'api.opensuse.org': {'user': 'poeml', 'pass': 'secret'},
|
||||||
@ -41,7 +41,7 @@ import ConfigParser
|
|||||||
config = { }
|
config = { }
|
||||||
|
|
||||||
DEFAULTS = { 'apisrv': 'api.opensuse.org',
|
DEFAULTS = { 'apisrv': 'api.opensuse.org',
|
||||||
'scheme': 'http',
|
'scheme': 'https',
|
||||||
'user': 'your_username',
|
'user': 'your_username',
|
||||||
'pass': 'your_password',
|
'pass': 'your_password',
|
||||||
'packagecachedir': '/var/tmp/osbuild-packagecache',
|
'packagecachedir': '/var/tmp/osbuild-packagecache',
|
||||||
|
Loading…
Reference in New Issue
Block a user