X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Finit_db.py;h=bbf682af31df026dc9614fa0a92c5d21d7458cea;hb=1483a68353fe374254379f4560cc245fbf2523d4;hp=20102cdf72a9a160836f7a748450e0a6977c8dd4;hpb=af486e867c2809515c09ae4f854a95355112010e;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)"