1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-10-06 17:20:04 +02:00

disable sslcertck by default, run as python3

This commit is contained in:
lethliel
2018-02-27 16:09:59 +01:00
parent 21af7828df
commit 284212a413
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# this wrapper exists so it can be put into /usr/bin, but still allows the # this wrapper exists so it can be put into /usr/bin, but still allows the
# python module to be called within the source directory during development # python module to be called within the source directory during development

View File

@@ -528,6 +528,7 @@ def _build_opener(apiurl):
HTTPPasswordMgrWithDefaultRealm()) HTTPPasswordMgrWithDefaultRealm())
authhandler.add_password(None, apiurl, options['user'], options['pass']) authhandler.add_password(None, apiurl, options['user'], options['pass'])
options['sslcertck'] = False
if options['sslcertck']: if options['sslcertck']:
try: try:
from . import oscssl from . import oscssl