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

Commit

Permalink
trac #34211: some care
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Jul 22, 2022
1 parent b55efb1 commit 32f05b0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/sage/graphs/isgci.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ def _download_db(self):
EXAMPLES::
sage: graph_classes._download_db() # Not tested -- requires internet
sage: graph_classes._download_db() # Not tested -- requires internet
"""
import tempfile
u = urlopen('https://www.graphclasses.org/data.zip',
Expand Down Expand Up @@ -858,7 +858,6 @@ def _parse_db(self, directory):
sage: graph_classes._parse_db(GRAPHS_DATA_DIR)
"""
import xml.etree.cElementTree as ET
import os.path
from sage.graphs.graph import Graph

xml_file = os.path.join(GRAPHS_DATA_DIR, _XML_FILE)
Expand Down Expand Up @@ -903,7 +902,7 @@ def update_db(self):
EXAMPLES::
sage: graph_classes.update_db() # Not tested -- requires internet
sage: graph_classes.update_db() # Not tested -- requires internet
"""
self._download_db()

Expand Down Expand Up @@ -935,8 +934,6 @@ def _get_ISGCI(self):
sage: graph_classes._get_ISGCI() # long time (4s on sage.math, 2012)
"""

import os.path
from sage.misc.misc import SAGE_DB

try:
Expand Down

0 comments on commit 32f05b0

Please sign in to comment.