From 69f09ae38116af1a2f74db7eb6d9c84c23ed7384 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sun, 3 Oct 2010 12:47:57 +0000 Subject: [PATCH] Check brit_file value, it can be None Signed-off-by: Luca Falavigna --- dak/control_suite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dak/control_suite.py b/dak/control_suite.py index be31e001..fcd4ca39 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -104,6 +104,9 @@ def britney_changelog(packages, suite, session): {'suiteid': suite.suite_id}) brit_file = q.fetchone()[0] except: + brit_file = None + + if not brit_file: return q = session.execute("""SELECT s.source, s.version, sa.id -- 2.39.5