]> err.no Git - dak/commitdiff
bad index name
authorMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:20:24 +0000 (15:20 -0500)
committerMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:20:24 +0000 (15:20 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/dakdb/update28.py

index 0d1f22089b52c133d575a14dda5bff5d3711c4dd..1859e5056d3bc8a16b4b0fba84f4cc35a024948a 100755 (executable)
@@ -153,7 +153,7 @@ def do_update(self):
 
             for section, sname in [("debian-installer","main"),
                                   ("non-free/debian-installer", "nonfree")]:
-                c.execute( "CREATE INDEX ind_udeb_contents_%s_%s ON udeb_contents (section,suite) WHERE section='%s' AND suite='%s'"%(sname,suite,section,suite_id) )
+                c.execute( "CREATE INDEX ind_udeb_contents_%s ON udeb_contents (section,suite) WHERE section='%s' AND suite='%s'"%(sname,section,suite_id) )
 
 
         c.execute( """CREATE OR REPLACE FUNCTION update_contents_for_bin_a() RETURNS trigger AS  $$