-
-# for section, fn_pattern in [("debian-installer","dists/%s/Contents-udeb-%s"),
-# ("non-free/debian-installer", "dists/%s/Contents-udeb-nf-%s")]:
-
-# section_id = DBConn().get_section_id(section) # all udebs should be here)
-# if section_id != -1:
-
-
-
-# # Get our suites, and the architectures
-# for suite in [i.lower() for i in suites]:
-# suite_id = DBConn().get_suite_id(suite)
-# arch_list = self._arches(suite_id, session)
-
-# for arch_id in arch_list:
-
-# writer = GzippedContentWriter(fn_pattern % (suite, arch_id[1]))
-# try:
-
-# results = session.execute("EXECUTE udeb_contents_q(%d,%d,%d)" % (suite_id, udebtype_id, section_id, arch_id))
-
-# while True:
-# r = cursor.fetchone()
-# if not r:
-# break
-
-# filename, section, package, arch = r
-# writer.write(filename, section, package)
-# finally:
-# writer.close()
-
-