From c8cc1ed563ae17dcedaff7eb20bc708e2fea0d7e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 4 Apr 2024 01:57:58 +0300 Subject: Remove unused database connection. --- scripts/qc_on_rqtl2_bundle.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/qc_on_rqtl2_bundle.py b/scripts/qc_on_rqtl2_bundle.py index 45be4ae..7e77104 100644 --- a/scripts/qc_on_rqtl2_bundle.py +++ b/scripts/qc_on_rqtl2_bundle.py @@ -274,8 +274,7 @@ if __name__ == "__main__": logger.setLevel("DEBUG") fqjobid = jobs.job_key(args.redisprefix, args.jobid) - with (database_connection(args.databaseuri) as _dbconn, - Redis.from_url(args.redisuri, decode_responses=True) as rconn): + with Redis.from_url(args.redisuri, decode_responses=True) as rconn: logger.addHandler(setup_redis_logger( rconn, fqjobid, f"{fqjobid}:log-messages", args.redisexpiry)) -- cgit v1.2.3