Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj committed Jan 10, 2025
1 parent 5f5a7df commit e82c58a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions swebench/harness/docker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ def build_base_images(
base_images = {
x.base_image_key: (x.base_dockerfile, x.platform) for x in test_specs
}
if force_rebuild:
for key in base_images:
remove_image(client, key, "quiet")

# Build the base images
for image_name, (dockerfile, platform) in base_images.items():
Expand Down

0 comments on commit e82c58a

Please sign in to comment.