From 6dfe3ebf22e4f176d68013b0a5da83563319aefc Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 19 Dec 2015 13:40:49 +0100 Subject: [PATCH] Remove unused `session` variable The code uses the session obtained from the `ArchiveTransaction`. --- dak/manage_build_queues.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dak/manage_build_queues.py b/dak/manage_build_queues.py index 1020542a..6d5b3488 100755 --- a/dak/manage_build_queues.py +++ b/dak/manage_build_queues.py @@ -144,8 +144,6 @@ def main (): starttime = datetime.now() - session = DBConn().session() - with ArchiveTransaction() as transaction: session = transaction.session if Options['All']: -- 2.39.5