X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate28.py;h=19c354a7d9fff23b9a6b0b373983f0d8158a149a;hb=95aac686c837c7272472eaf0e601da9b1ac24aed;hp=042a6ac493454cd437f05a561f8c08b58e7b5a50;hpb=b37a6491aaafc34faf7be2b109f43f35393268d9;p=dak.git diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index 042a6ac4..19c354a7 100755 --- a/dak/dakdb/update28.py +++ b/dak/dakdb/update28.py @@ -34,7 +34,7 @@ from daklib.dak_exceptions import DBUpdateError ################################################################################ -def suites(): +def _suites(): """ return a list of suites to operate on """ @@ -141,8 +141,7 @@ def do_update(self): c.execute("""CREATE INDEX ind_deb_contents_binary ON deb_contents(binary_id);""" ) - - suites = self.suites() + suites = _suites() for suite in [i.lower() for i in suites]: suite_id = DBConn().get_suite_id(suite)