From 3da6848381b6103fbb58eeab8d7051cba0bded58 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 4 Aug 2022 08:51:15 +0300 Subject: Implement data insertion - Hook up external data insertion script to webserver code - Provide rudimentary status indication - Generalise some job creation details --- scripts/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/worker.py b/scripts/worker.py index 879442a..03751d2 100644 --- a/scripts/worker.py +++ b/scripts/worker.py @@ -54,7 +54,7 @@ def run_job(job, rconn): os.remove(stderrpath) return process.poll() - except Exception as exc: + except Exception as exc:# pylint: disable=[broad-except,unused-variable] update_stdout_stderr( traceback.format_exc().encode("utf-8"), "stderr", rconn, job_id) print(traceback.format_exc(), file=sys.stderr) -- cgit v1.2.3