From: Torsten Werner Date: Wed, 7 Jul 2010 08:15:38 +0000 (+0000) Subject: examine-package: do not create useless DB sessions X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d54be11252ff02c378999fab7a6e873425f974b;p=dak examine-package: do not create useless DB sessions Signed-off-by: Torsten Werner --- diff --git a/dak/examine_package.py b/dak/examine_package.py index 6a3c8046..617fc7ad 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -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 += ", "