]> git.decadent.org.uk Git - dak.git/commitdiff
bugfixes
authorTorsten Werner <twerner@debian.org>
Tue, 8 Mar 2011 21:44:26 +0000 (21:44 +0000)
committerTorsten Werner <twerner@debian.org>
Tue, 8 Mar 2011 21:44:26 +0000 (21:44 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/contents.py

index 09308c9c914143e6fbd757e425d092bd45b714b9..e2e381736bc218a4b1713a10664c72520dea46e5 100755 (executable)
@@ -57,10 +57,10 @@ class ContentsWriter(object):
         '''
         overridesuite = self.suite
         if self.suite.overridesuite is not None:
-            overridesuite = self.suite.overridesuite
+            overridesuite = get_suite(self.suite.overridesuite, self.session)
         params = {
             'suite':         self.suite.suite_id,
-            'overridesuite': overridesuite.suite_id
+            'overridesuite': overridesuite.suite_id,
             'arch_all':      get_architecture('all', self.session).arch_id,
             'arch':          self.architecture.arch_id,
             'type_id':       self.overridetype.overridetype_id,