diff --git a/ci-scripts/main.py b/ci-scripts/main.py index ccb7419908d12b3dddb99a1cb84eb236343698db..df26ae04e3715c0f8a37da1e58381b817da9ba22 100644 --- a/ci-scripts/main.py +++ b/ci-scripts/main.py @@ -3329,6 +3329,7 @@ elif (os.path.isfile('ci_scripts/xml_class_list.yml')): else: logging.error("XML action list yaml file cannot be found") sys.exit("XML action list yaml file cannot be found") + #file will be opened only if it exists with open(xml_class_list_file,'r') as file: # The FullLoader parameter handles the conversion