Renamed OS to os_name in get_os_sslcertificate_searchpath

This patch changes this variable name only.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 16:40:07 +01:00
parent 07c1a5c9db
commit 714cbe2327

View File

@ -71,11 +71,11 @@ def get_os_sslcertfile_searchpath():
at all.
"""
OS = get_os_name()
os_name = get_os_name()
l = None
if OS in __DEF_OS_LOCATIONS:
l = __DEF_OS_LOCATIONS[OS]
if os_name in __DEF_OS_LOCATIONS:
l = __DEF_OS_LOCATIONS[os_name]
if not hasattr(l, '__iter__'):
l = (l,)
return l