aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/correlation.py2
-rw-r--r--gn3/commands.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py
index e362b38..5f2d486 100644
--- a/gn3/api/correlation.py
+++ b/gn3/api/correlation.py
@@ -9,7 +9,7 @@ from flask import request
from flask import current_app
from gn3.settings import SQL_URI
-from gn3.commands import queue_cmd, run_async_cmd, compose_pcorrs_command
+from gn3.commands import run_async_cmd, compose_pcorrs_command
from gn3.db_utils import database_connector
from gn3.responses.pcorrs_responses import build_response
from gn3.computations.correlations import map_shared_keys_to_values
diff --git a/gn3/commands.py b/gn3/commands.py
index 5770902..9684eeb 100644
--- a/gn3/commands.py
+++ b/gn3/commands.py
@@ -111,5 +111,5 @@ def run_async_cmd(
"""A utility function to call `gn3.commands.queue_cmd` function and run the
worker in the `one-shot` mode."""
cmd_id = queue_cmd(conn, job_queue, cmd, email, env)
- subprocess.Popen(["python3", "sheepdog/worker.py"])
+ subprocess.Popen(["python3", "sheepdog/worker.py"]) # pylint: disable=[consider-using-with]
return cmd_id