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
5777553a96
commit
bde48fe2c7
@ -91,11 +91,11 @@ def get_os_sslcertfile():
|
|||||||
correspond to non-existing filesystem objects.
|
correspond to non-existing filesystem objects.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
l = get_os_sslcertfile_searchpath()
|
location = get_os_sslcertfile_searchpath()
|
||||||
if l is None:
|
if location is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
for f in l:
|
for f in location:
|
||||||
assert (type(f) == type(""))
|
assert (type(f) == type(""))
|
||||||
if os.path.exists(f) and (os.path.isfile(f) or os.path.islink(f)):
|
if os.path.exists(f) and (os.path.isfile(f) or os.path.islink(f)):
|
||||||
return f
|
return f
|
||||||
|
Loading…
Reference in New Issue
Block a user