print("[{}] Incorrect component table, updating...".format(str(bsp_path))) delcontent[start_idx+1:end_idx] exceptValueError: else: print("[{}] First run on this file. Creating components section...".format(str(bsp_path))) content.append(DEPENDENCIES_START) ...