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:
parent
714cbe2327
commit
5777553a96
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user