X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcontents.py;h=831822a3f86a34524d6d6e805cecd0b8de258b03;hb=6f33a32fe38b1ace0ee0b499847a1ce10ed4473b;hp=c0d00c85abec80249c6b4f6a8726a4b87503b8d1;hpb=3919b6a71bc7592a953e8149d3fba8c00a96a539;p=dak.git diff --git a/dak/contents.py b/dak/contents.py index c0d00c85..831822a3 100755 --- a/dak/contents.py +++ b/dak/contents.py @@ -209,7 +209,7 @@ class ContentFile(object): def __init__(self, filename, suite_str, - suite_id) + suite_id): self.filename = filename self.filenames = {} @@ -306,7 +306,7 @@ class DebContentFile(ContentFile): 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, @@ -314,7 +314,7 @@ class UdebContentFile(ContentFile): suite_str, suite_id, section_name, - section_id) + section_id): ContentFile.__init__(self, filename, suite_str,