Skip to content

Commit e9559a5

Browse files
Remove try-catch block
1 parent 0e8135b commit e9559a5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/tests/py/metadata.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ def __init__(self, script_folder, env_file_name):
5050
def __build_env_object__(self, env_file_name):
5151

5252
with open(env_file_name) as stream:
53-
try:
54-
env = yaml.safe_load(stream)
55-
except yaml.YAMLError as yaml_exception:
56-
raise yaml_exception
57-
58-
return env
53+
return yaml.safe_load(stream)
5954

6055
# resolves the run arguments associated with the environment
6156
def __resolve_env_vals__(self, metadata_dict):

0 commit comments

Comments
 (0)