[dak/master 2/2] bugfixes
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/contents.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daklib/contents.py b/daklib/contents.py
index 09308c9..e2e3817 100755
--- a/daklib/contents.py
+++ b/daklib/contents.py
@@ -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,
--
1.7.2.3
Reply to: