X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcontrol_suite.py;h=c1c29dc29e096663148aa6819c52ac7b1e6a5695;hb=f8664d5c2fa8056463c489164f0146c8ad518e27;hp=be31e001c5db1bf4f59831d6c8558d0bcd8a5f03;hpb=3532610b2e863b9dd0c571fb2dc9538cd3d29f6e;p=dak.git diff --git a/dak/control_suite.py b/dak/control_suite.py index be31e001..c1c29dc2 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -98,12 +98,18 @@ def britney_changelog(packages, suite, session): old = {} current = {} + Cnf = utils.get_conf() try: q = session.execute("SELECT changelog FROM suite WHERE id = :suiteid", \ {'suiteid': suite.suite_id}) brit_file = q.fetchone()[0] except: + brit_file = None + + if brit_file: + brit_file = os.path.join(Cnf['Dir::Root'], brit_file) + else: return q = session.execute("""SELECT s.source, s.version, sa.id