[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] s/britney_changelog/changelog/



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/control_suite.py  |    4 ++--
 dak/dakdb/update39.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dak/control_suite.py b/dak/control_suite.py
index e91373a..be31e00 100755
--- a/dak/control_suite.py
+++ b/dak/control_suite.py
@@ -100,8 +100,8 @@ def britney_changelog(packages, suite, session):
     current = {}
 
     try:
-        q = session.execute("""SELECT britney_changelog FROM suite
-                               WHERE id = :suiteid""", {'suiteid': suite.suite_id})
+        q = session.execute("SELECT changelog FROM suite WHERE id = :suiteid", \
+                            {'suiteid': suite.suite_id})
         brit_file = q.fetchone()[0]
     except:
         return
diff --git a/dak/dakdb/update39.py b/dak/dakdb/update39.py
index 9218955..558dc44 100644
--- a/dak/dakdb/update39.py
+++ b/dak/dakdb/update39.py
@@ -37,8 +37,8 @@ def do_update(self):
     try:
         c = self.db.cursor()
         c.execute("INSERT INTO config(name, value) VALUES ('exportpath', '/srv/ftp-master.debian.org/export/changelogs')")
-        c.execute("ALTER TABLE suite ADD COLUMN britney_changelog text NULL")
-        c.execute("UPDATE suite SET britney_changelog = '/srv/ftp-master.debian.org/ftp/dists/testing/ChangeLog' WHERE suite_name = 'testing'")
+        c.execute("ALTER TABLE suite ADD COLUMN changelog text NULL")
+        c.execute("UPDATE suite SET changelog = '/srv/ftp-master.debian.org/ftp/dists/testing/ChangeLog' WHERE suite_name = 'testing'")
         c.execute("UPDATE config SET value = '39' WHERE name = 'db_revision'")
         self.db.commit()
 
-- 
1.5.6.5



Reply to: