Skip to content

Commit

Permalink
Updated as per pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Kirandeep Singh <[email protected]>
  • Loading branch information
Kirandeep-Singh-Khehra committed Mar 18, 2024
1 parent 3ce2cac commit 006b0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare_bitnami_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def add_tags_to_image_yml(self,):
print("x Collide: ", new_tag)

with open(f'{self.script_path}/../community_images/{image_path}/image.yml', 'w', encoding="utf8") as f1:
image_data['repo_sets'] = sorted(image_data['repo_sets'], key=lambda x: tuple(map(int, x[repo_set_name]['input_base_tag'].replace("\"", "").split('-')[0].split('.'))))
image_data['repo_sets'] = sorted(image_data['repo_sets'], key=lambda x: tuple(map(int, x[repo_set_name]['input_base_tag'].replace("\"", "").split('-')[0].split('.')))) # pylint: disable=cell-var-from-loop
ru_yaml.dump(image_data, f1)
print("< Dumped : ", image_path)

Expand Down

0 comments on commit 006b0be

Please sign in to comment.