Skip to content

Commit

Permalink
Removed duplicate change checking
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
  • Loading branch information
Gavinok committed Oct 31, 2024
1 parent 7790306 commit 0301fec
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,12 @@ def apply_user_variables():
if len(variable_substitution_map.user_static_map) <= 1:
logger.info("No new user created variable substitution where found")

changes = 0
for pattern, func in variable_substitution_map.user_static_map.items():
if pattern not in og_substitution_map:
logger.info(
f'New user created variable substitution: The pattern "{pattern.pattern}" is now mapped to the function {func.__name__}'
)
changes += 1
if changes == 0:
logger.info("No user created variable applied")


apply_user_variables()

0 comments on commit 0301fec

Please sign in to comment.