mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
revent: fix resource resolution when dependency location does not exist.
This commit is contained in:
@@ -320,6 +320,7 @@ class RemoteFilerGetter(ResourceGetter):
|
|||||||
for candidate in os.listdir(alternate_location):
|
for candidate in os.listdir(alternate_location):
|
||||||
if candidate.lower() == filename.lower():
|
if candidate.lower() == filename.lower():
|
||||||
return os.path.join(alternate_location, candidate)
|
return os.path.join(alternate_location, candidate)
|
||||||
|
if os.path.isdir(location):
|
||||||
for candidate in os.listdir(location):
|
for candidate in os.listdir(location):
|
||||||
if candidate.lower() == filename.lower():
|
if candidate.lower() == filename.lower():
|
||||||
return os.path.join(location, candidate)
|
return os.path.join(location, candidate)
|
||||||
|
Reference in New Issue
Block a user