]> git.decadent.org.uk Git - dak.git/commitdiff
minor fixes
authorMike O'Connor <stew@dhcp-101.dfw1.kickstart.lan>
Fri, 30 Oct 2009 09:08:39 +0000 (09:08 +0000)
committerMike O'Connor <stew@dhcp-101.dfw1.kickstart.lan>
Fri, 30 Oct 2009 09:08:39 +0000 (09:08 +0000)
dak/contents.py
daklib/dbconn.py

index c0d00c85abec80249c6b4f6a8726a4b87503b8d1..831822a3f86a34524d6d6e805cecd0b8de258b03 100755 (executable)
@@ -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,
index 34d54b5eead9b8e4e23294fb0e926cdad3d217a7..e651916a186c3907edd3b990f1bc90016908635a 100755 (executable)
@@ -2119,6 +2119,7 @@ class DBConn(Singleton):
         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):