From 71d181aa832b048752dde323b077d4c4347b887b Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Mon, 16 May 2016 06:24:36 +0000 Subject: [PATCH] Add pkg_id field to BinaryPackage Signed-off-by: Niels Thykier --- britney.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/britney.py b/britney.py index c6e0d52..8b32bd0 100755 --- a/britney.py +++ b/britney.py @@ -238,6 +238,7 @@ BinaryPackage = namedtuple('BinaryPackage', [ 'conflicts', 'provides', 'is_essential', + 'pkg_id', ]) class Britney(object): @@ -557,6 +558,7 @@ class Britney(object): None, provides, False, + pkg_id, ) src_data[BINARIES].append(pkg_id) @@ -645,6 +647,7 @@ class Britney(object): None, [], False, + pkg_id, ) src_data[BINARIES].append(pkg_id) self.binaries['testing'][arch][0][pkg_name] = bin_data @@ -905,6 +908,7 @@ class Britney(object): ', '.join(final_conflicts_list) or None, provides, ess, + pkg_id, ) # if the source package is available in the distribution, then register this binary package