Suites now have a reference to sources

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2018-04-01 19:48:51 +00:00
parent d1350606bb
commit 73f4f3a5dd
2 changed files with 2 additions and 0 deletions

View File

@ -324,6 +324,7 @@ class Britney(object):
# - Load all sources before any of the binaries.
for suite in self.suite_info:
sources = self.read_sources(suite.path)
suite.sources = sources
self.sources[suite.name] = sources
self.binaries[suite.name] = self.read_binaries(suite.path, suite.name, self.options.architectures)

View File

@ -33,6 +33,7 @@ class Suite(object):
self.name = name
self.path = path
self.suite_short_name = suite_short_name if suite_short_name else ''
self.sources = {}
@property
def excuses_suffix(self):