mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
commit
8c3e61bee6
@ -496,6 +496,8 @@ def _build_opener(url):
|
|||||||
elif os.path.isdir(i):
|
elif os.path.isdir(i):
|
||||||
capath = i
|
capath = i
|
||||||
break
|
break
|
||||||
|
if not cafile and not capath:
|
||||||
|
raise Exception('No CA certificates found')
|
||||||
ctx = oscssl.mySSLContext()
|
ctx = oscssl.mySSLContext()
|
||||||
if ctx.load_verify_locations(capath=capath, cafile=cafile) != 1:
|
if ctx.load_verify_locations(capath=capath, cafile=cafile) != 1:
|
||||||
raise Exception('No CA certificates found')
|
raise Exception('No CA certificates found')
|
||||||
|
2
setup.py
2
setup.py
@ -57,7 +57,7 @@ setup(name='osc',
|
|||||||
author = 'openSUSE project',
|
author = 'openSUSE project',
|
||||||
author_email = 'opensuse-buildservice@opensuse.org',
|
author_email = 'opensuse-buildservice@opensuse.org',
|
||||||
license = 'GPL',
|
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'],
|
keywords = ['openSUSE', 'SUSE', 'RPM', 'build', 'buildservice'],
|
||||||
url = 'http://en.opensuse.org/openSUSE:OSC',
|
url = 'http://en.opensuse.org/openSUSE:OSC',
|
||||||
download_url = 'https://github.com/openSUSE/osc',
|
download_url = 'https://github.com/openSUSE/osc',
|
||||||
|
Loading…
Reference in New Issue
Block a user