]> git.decadent.org.uk Git - dak.git/commitdiff
examine-package: do not create useless DB sessions
authorTorsten Werner <twerner@debian.org>
Wed, 7 Jul 2010 08:15:38 +0000 (08:15 +0000)
committerTorsten Werner <twerner@debian.org>
Wed, 7 Jul 2010 08:15:38 +0000 (08:15 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/examine_package.py

index 6a3c8046fdd6293a1dcf5c268ced4818df5116fe..617fc7ad77f6ed04f2bf437ab828e76eca87927d 100755 (executable)
@@ -319,7 +319,6 @@ def create_depends_string (suite, depends_tree):
         suite_where = "= '%s'" % suite
 
     comma_count = 1
-    session = DBConn().session()
     for l in depends_tree:
         if (comma_count >= 2):
             result += ", "