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()
|
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():
|
||||||
|
Loading…
Reference in New Issue
Block a user