From b6b677620b2e8f8dff3d71fa4da17fcf1fb1d679 Mon Sep 17 00:00:00 2001 From: Fabio Tranchitella Date: Wed, 26 Jul 2006 18:38:36 +0000 Subject: [PATCH] Added a list of known bugs for the old britney, fixed a bug while evaluating nuninst. --- BUGS | 3 +++ britney.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 BUGS diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..25f97d3 --- /dev/null +++ b/BUGS @@ -0,0 +1,3 @@ +# list of bugs for old britney +# * if there are tpu approvals, then all the packages are approved +# * while building the upgrade excuses, dependencies on virtual packages can be versioned, but not on UpgradeRun diff --git a/britney.py b/britney.py index 771755b..6ff7362 100644 --- a/britney.py +++ b/britney.py @@ -1519,7 +1519,8 @@ class Britney: if b not in nuninst[arch]: nuninst[arch].append(b) - if len(nuninst[arch]) > len(nuninst_comp[arch]): + if arch not in self.options.break_arches and \ + len(nuninst[arch]) > len(nuninst_comp[arch]): better = False break