Skip to content

Commit

Permalink
Remove duplicate code (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartManoj authored Jan 13, 2025
1 parent d83e100 commit d3e2207
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 @@ -175,9 +175,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 d3e2207

Please sign in to comment.