Skip to content

Commit

Permalink
Make codacy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Oct 16, 2023
1 parent b7bf409 commit 58fa96c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kiwi/xml_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1926,9 +1926,8 @@ def get_repositories_signing_keys(self) -> List[str]:
normalized_key_url = normalized_key_url.replace(
release_var, release_version
)
key_file_list.append(
normalized_key_url
) if normalized_key_url not in key_file_list else key_file_list
if normalized_key_url not in key_file_list:
key_file_list.append(normalized_key_url)
return key_file_list

def set_repository(
Expand Down

0 comments on commit 58fa96c

Please sign in to comment.