mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 22:56:15 +01:00
commit
8c3e61bee6
@ -496,6 +496,8 @@ def _build_opener(url):
|
||||
elif os.path.isdir(i):
|
||||
capath = i
|
||||
break
|
||||
if not cafile and not capath:
|
||||
raise Exception('No CA certificates found')
|
||||
ctx = oscssl.mySSLContext()
|
||||
if ctx.load_verify_locations(capath=capath, cafile=cafile) != 1:
|
||||
raise Exception('No CA certificates found')
|
||||
|
2
setup.py
2
setup.py
@ -57,7 +57,7 @@ setup(name='osc',
|
||||
author = 'openSUSE project',
|
||||
author_email = 'opensuse-buildservice@opensuse.org',
|
||||
license = 'GPL',
|
||||
platforms = ['Linux', 'Mac OSX', 'Windows XP/2000/NT', 'Windows 95/98/ME'],
|
||||
platforms = ['Linux', 'Mac OSX', 'Windows XP/2000/NT', 'Windows 95/98/ME', 'FreeBSD'],
|
||||
keywords = ['openSUSE', 'SUSE', 'RPM', 'build', 'buildservice'],
|
||||
url = 'http://en.opensuse.org/openSUSE:OSC',
|
||||
download_url = 'https://github.com/openSUSE/osc',
|
||||
|
Loading…
Reference in New Issue
Block a user