Skip to content

Commit

Permalink
ssl workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
fvankrieken committed Dec 23, 2024
1 parent bb77a4f commit c659320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dcpy/lifecycle/package/assemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def pull_destination_files(
)
make_package_folder(local_package_path)
product_metadata.write_to_yaml(local_package_path / "metadata.yml")
import ssl

ssl._create_default_https_context = ssl._create_unverified_context
package_ids = {p.id for p in product_metadata.assembly}
for f in dest.files:
paths_and_dests = ids_to_paths_and_dests[f.id]
Expand Down

0 comments on commit c659320

Please sign in to comment.