From: Luca Falavigna Date: Sun, 3 Oct 2010 12:47:57 +0000 (+0000) Subject: Check brit_file value, it can be None X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=69f09ae38116af1a2f74db7eb6d9c84c23ed7384;p=dak.git Check brit_file value, it can be None Signed-off-by: Luca Falavigna --- 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