mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-06 09:19:19 +02:00
disable sslcertck by default, run as python3
This commit is contained in:
@@ -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
|
||||
# python module to be called within the source directory during development
|
||||
|
@@ -528,6 +528,7 @@ def _build_opener(apiurl):
|
||||
HTTPPasswordMgrWithDefaultRealm())
|
||||
authhandler.add_password(None, apiurl, options['user'], options['pass'])
|
||||
|
||||
options['sslcertck'] = False
|
||||
if options['sslcertck']:
|
||||
try:
|
||||
from . import oscssl
|
||||
|
Reference in New Issue
Block a user