From 73f7c00acd1cb21d50d7ce843405b3e410479210 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 17 Dec 2025 13:54:51 +0100 Subject: [PATCH] Solved ruff E741 --- build/lib/cli/create/role.py | 2 +- cli/create/role.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/lib/cli/create/role.py b/build/lib/cli/create/role.py index 88586155..f69edbd1 100644 --- a/build/lib/cli/create/role.py +++ b/build/lib/cli/create/role.py @@ -88,7 +88,7 @@ def render_templates(src_dir, dst_dir, context): with open(dst_file) as f_old: old_lines = f_old.readlines() new_lines = rendered.splitlines(keepends=True) - additions = [l for l in new_lines if l not in old_lines] + additions = [line for line in new_lines if line not in old_lines] if additions: with open(dst_file, 'a') as f: f.writelines(additions) diff --git a/cli/create/role.py b/cli/create/role.py index 88586155..f69edbd1 100644 --- a/cli/create/role.py +++ b/cli/create/role.py @@ -88,7 +88,7 @@ def render_templates(src_dir, dst_dir, context): with open(dst_file) as f_old: old_lines = f_old.readlines() new_lines = rendered.splitlines(keepends=True) - additions = [l for l in new_lines if l not in old_lines] + additions = [line for line in new_lines if line not in old_lines] if additions: with open(dst_file, 'a') as f: f.writelines(additions)