X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate28.py;h=19c354a7d9fff23b9a6b0b373983f0d8158a149a;hb=95aac686c837c7272472eaf0e601da9b1ac24aed;hp=7bb3961384374fb60e20e34841e6167d6a341412;hpb=bdc42d43575c31d1d48d9570aa39dfc2849137d7;p=dak.git diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index 7bb39613..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 = suites() + suites = _suites() for suite in [i.lower() for i in suites]: suite_id = DBConn().get_suite_id(suite)