]> git.decadent.org.uk Git - dak.git/commitdiff
fix typo
authorMark Hymers <mhy@debian.org>
Sun, 25 Jan 2009 15:24:13 +0000 (15:24 +0000)
committerMark Hymers <mhy@debian.org>
Sun, 25 Jan 2009 15:24:13 +0000 (15:24 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/init_db.py

index 20102cdf72a9a160836f7a748450e0a6977c8dd4..bbf682af31df026dc9614fa0a92c5d21d7458cea 100755 (executable)
@@ -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)"