diff --git a/spinnman/spalloc/spalloc_client.py b/spinnman/spalloc/spalloc_client.py index d8981a412..90bd74179 100644 --- a/spinnman/spalloc/spalloc_client.py +++ b/spinnman/spalloc/spalloc_client.py @@ -21,7 +21,6 @@ from packaging.version import Version import queue import requests -import sqlite3 import struct import threading from typing import Dict, List, Tuple @@ -98,7 +97,8 @@ def __init__( logger.info("established session to {} for {}", service_url, username) @staticmethod - def open_job_from_database(service_url, job_url, cookies, headers) -> SpallocJob: + def open_job_from_database( + service_url, job_url, cookies, headers) -> SpallocJob: """ Create a job from the description in the attached database. This is intended to allow for access to the job's allocated resources from diff --git a/spinnman/spalloc/spalloc_job.py b/spinnman/spalloc/spalloc_job.py index e9afaef95..3666a5746 100644 --- a/spinnman/spalloc/spalloc_job.py +++ b/spinnman/spalloc/spalloc_job.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from sqlite3 import Cursor from typing import Dict, Tuple from spinn_utilities.abstract_base import AbstractBase, abstractmethod from spinn_utilities.abstract_context_manager import AbstractContextManager