Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #34211: replace call to SSLContext with default_context
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Jul 22, 2022
1 parent b91db9e commit b55efb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/graphs/isgci.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def _download_db(self):
"""
import tempfile
u = urlopen('https://www.graphclasses.org/data.zip',
context=SSLContext())
context=default_context())
with tempfile.NamedTemporaryFile(suffix=".zip") as f:
f.write(u.read())
z = zipfile.ZipFile(f.name)
Expand Down

0 comments on commit b55efb1

Please sign in to comment.