Renamed l variable to location_name

This variable is renamed to avoid a warning about ambiguous name.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 16:40:50 +01:00
parent 714cbe2327
commit 5777553a96

View File

@ -73,12 +73,12 @@ def get_os_sslcertfile_searchpath():
os_name = get_os_name()
l = None
location = None
if os_name in __DEF_OS_LOCATIONS:
l = __DEF_OS_LOCATIONS[os_name]
if not hasattr(l, '__iter__'):
l = (l,)
return l
location = __DEF_OS_LOCATIONS[os_name]
if not hasattr(location, '__iter__'):
location = (location,)
return location
def get_os_sslcertfile():