mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 17:46:17 +01:00
set scheme=https in the default conf; add missing import sys in othermethods.py
This commit is contained in:
parent
3b96e4dfdf
commit
4f61fc4bb0
@ -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': 'http',
|
'scheme': 'https',
|
||||||
'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'},
|
||||||
|
@ -14,6 +14,7 @@ PUT methods.
|
|||||||
|
|
||||||
import httplib
|
import httplib
|
||||||
import base64
|
import base64
|
||||||
|
import sys
|
||||||
import os
|
import os
|
||||||
import urlparse
|
import urlparse
|
||||||
from osc.core import __version__
|
from osc.core import __version__
|
||||||
|
Loading…
Reference in New Issue
Block a user