]> git.decadent.org.uk Git - dak.git/commitdiff
Remove unused `session` variable
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 12:40:49 +0000 (13:40 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Dec 2015 12:40:49 +0000 (13:40 +0100)
The code uses the session obtained from the `ArchiveTransaction`.

dak/manage_build_queues.py

index 1020542a491c37a8f3ae800e1037173f48dd9d96..6d5b34880b8f2f24c460928e242015e24973ef6b 100755 (executable)
@@ -144,8 +144,6 @@ def main ():
 
     starttime = datetime.now()
 
-    session = DBConn().session()
-
     with ArchiveTransaction() as transaction:
         session = transaction.session
         if Options['All']: