diff options
author | Frederick Muriuki Muriithi | 2024-04-04 01:57:58 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-04 01:57:58 +0300 |
commit | c8cc1ed563ae17dcedaff7eb20bc708e2fea0d7e (patch) | |
tree | 01153448f55a99f13baaa20936b66f45d84969c0 /scripts | |
parent | e3e75ae0e866d3571612b4b769ae5214bf8daf67 (diff) | |
download | gn-uploader-c8cc1ed563ae17dcedaff7eb20bc708e2fea0d7e.tar.gz |
Remove unused database connection.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qc_on_rqtl2_bundle.py | 3 |
1 files changed, 1 insertions, 2 deletions
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)) |