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() os_name = get_os_name()
l = None location = None
if os_name in __DEF_OS_LOCATIONS: if os_name in __DEF_OS_LOCATIONS:
l = __DEF_OS_LOCATIONS[os_name] location = __DEF_OS_LOCATIONS[os_name]
if not hasattr(l, '__iter__'): if not hasattr(location, '__iter__'):
l = (l,) location = (location,)
return l return location
def get_os_sslcertfile(): def get_os_sslcertfile():