Skip to content

Commit 6d7c0f3

Browse files
committed
Fix undefined variable usage caught by ruff.
1 parent eb4c90f commit 6d7c0f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

contentctl/input/yml_reader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ def load_file(
3333
import strictyaml
3434
strictyaml.dirty_load(file_handler.read(), allow_flow_style=True)
3535
file_handler.seek(0)
36-
37-
print(f"Error loading YML file {file_path}: {str(e)}")
38-
sys.exit(1)
3936

4037

4138
# Ideally we should use

0 commit comments

Comments
 (0)