[dak/master 08/16] minor fixes
---
dak/contents.py | 6 +++---
daklib/dbconn.py | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dak/contents.py b/dak/contents.py
index c0d00c8..831822a 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,
diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 34d54b5..e651916 100755
--- a/daklib/dbconn.py
+++ b/daklib/dbconn.py
@@ -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):
--
1.6.5
Reply to: