Skip to content

Commit

Permalink
Fix pylint possibly-used-before-assignment error
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <[email protected]>
  • Loading branch information
bgurney-rh committed Jul 29, 2024
1 parent c65557d commit d76c917
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc_scripts/update_workflow_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def process_toolchain(args):
:param args: the arguments passed on the command line
"""
search_key = False
if args.toolchain == "lowest":
search_key = KEY_LSRT
elif args.toolchain == "current":
Expand All @@ -110,6 +111,7 @@ def process_env(args):
:param args: the arguments passed on the command line
"""
search_key = False
if args.fedora == "lowest":
search_key = KEY_LFDE
elif args.fedora == "current":
Expand Down

0 comments on commit d76c917

Please sign in to comment.