Skip to content

Commit

Permalink
Merge pull request #2245 from h-vetinari/utf8
Browse files Browse the repository at this point in the history
fix superfluous encoding kwarg for reading in binary mode
  • Loading branch information
h-vetinari authored Feb 18, 2025
2 parents ac12c29 + dfe3c32 commit 126c27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_smithy/configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2620,7 +2620,7 @@ def get_cfp_file_path(temporary_directory):

response = requests.get(pkg.url)
response.raise_for_status()
with open(dest, "wb", encoding="utf-8") as f:
with open(dest, "wb") as f:
f.write(response.content)

logger.info("Extracting conda-forge-pinning to %s", temporary_directory)
Expand Down

0 comments on commit 126c27f

Please sign in to comment.