def __init__(self,
filename,
suite_str,
- suite_id)
+ suite_id):
self.filename = filename
self.filenames = {}
self.cursor.execute("""SELECT file, component || section || '/' || package
FROM deb_contents
WHERE ( arch=2 or arch = :arch) AND suite = :suite
- """, { 'arch':self.arch_id, 'suite':self.suite_id }
+ """, { 'arch':self.arch_id, 'suite':self.suite_id } )
class UdebContentFile(ContentFile):
def __init__(self,
suite_str,
suite_id,
section_name,
- section_id)
+ section_id):
ContentFile.__init__(self,
filename,
suite_str,
self.tbl_suite = Table('suite', self.db_meta, autoload=True)
self.tbl_suite_architectures = Table('suite_architectures', self.db_meta, autoload=True)
self.tbl_suite_src_formats = Table('suite_src_formats', self.db_meta, autoload=True)
+ self.tbl_udeb_contents = Table('udeb_contents', self.db_meta, autoload=True)
self.tbl_uid = Table('uid', self.db_meta, autoload=True)
def __setupmappers(self):