From 73f4f3a5dd6555b8f9234d3079e31c65aead0c07 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 1 Apr 2018 19:48:51 +0000 Subject: [PATCH] Suites now have a reference to sources Signed-off-by: Niels Thykier --- britney.py | 1 + britney2/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/britney.py b/britney.py index 26de12a..bec820c 100755 --- a/britney.py +++ b/britney.py @@ -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) diff --git a/britney2/__init__.py b/britney2/__init__.py index eefb8b3..92c064b 100644 --- a/britney2/__init__.py +++ b/britney2/__init__.py @@ -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):