Skip to content

Commit 3b5fb6d

Browse files
committed
dings
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 5d813fb commit 3b5fb6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ def __get_defined_model_enums() -> Generator[str, None, None]:
10091009
models_path = path.join(path.dirname(__file__), '..', 'cyclonedx', 'model')
10101010
model_files = glob(path.join('**', '*.py'), root_dir=models_path, recursive=True)
10111011
for model_file in model_files:
1012-
with open(path.join(models_path, model_file), 'r', encoding='utf-8') as f:
1012+
with open(path.join(models_path, model_file), encoding='utf-8') as f:
10131013
tree = ast.parse(f.read(), filename=model_file)
10141014
for node in ast.walk(tree):
10151015
if isinstance(node, ast.ClassDef):

0 commit comments

Comments
 (0)