X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_db.py;h=bbf682af31df026dc9614fa0a92c5d21d7458cea;hb=66e52b75f85d576a84bf5b7127b79252378cbad9;hp=20102cdf72a9a160836f7a748450e0a6977c8dd4;hpb=81d0c91b0d085b66aa40a9e147698f618b825d62;p=dak.git diff --git a/dak/init_db.py b/dak/init_db.py index 20102cdf..bbf682af 100755 --- a/dak/init_db.py +++ b/dak/init_db.py @@ -183,7 +183,7 @@ class InitDB(object): def do_section(self): """Initalize the section table.""" - c = projectB.cursor() + c = self.projectB.cursor() c.execute("DELETE FROM section") sect_add = "INSERT INTO section (section) VALUES (%s)"