Merge "Handle extra spaces in merge-svc-map-files"
This commit is contained in:
commit
9d252ba318
@ -48,6 +48,8 @@ def main():
|
|||||||
element_paths = os.environ.get("ELEMENTS_PATH").split(':')
|
element_paths = os.environ.get("ELEMENTS_PATH").split(':')
|
||||||
service_names = dict()
|
service_names = dict()
|
||||||
for element in elements:
|
for element in elements:
|
||||||
|
if not element.strip():
|
||||||
|
continue
|
||||||
for element_path in element_paths:
|
for element_path in element_paths:
|
||||||
data_path = os.path.join(element_path, element, "svc-map")
|
data_path = os.path.join(element_path, element, "svc-map")
|
||||||
if os.path.exists(data_path):
|
if os.path.exists(data_path):
|
||||||
|
Loading…
Reference in New Issue
Block a user