aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2022-12-21 14:57:08 -0800
committerBrian Harring <ferringb@gmail.com>2022-12-21 18:53:18 -0800
commitd42cd4ec29bdb62ad953105cf7cdf1a11bb053a7 (patch)
tree3bb490afbf46a98c675bbd3ff1c45a56bda31c12
parentReuse the existing regex match rather than running it twice. (diff)
downloadpkgcore-d42cd4ec29bdb62ad953105cf7cdf1a11bb053a7.tar.gz
pkgcore-d42cd4ec29bdb62ad953105cf7cdf1a11bb053a7.tar.bz2
pkgcore-d42cd4ec29bdb62ad953105cf7cdf1a11bb053a7.zip
Remove unused stack parameter from insert_choices
Signed-off-by: Brian Harring <ferringb@gmail.com>
-rw-r--r--src/pkgcore/resolver/plan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkgcore/resolver/plan.py b/src/pkgcore/resolver/plan.py
index 1d1ecd56..696c3ec0 100644
--- a/src/pkgcore/resolver/plan.py
+++ b/src/pkgcore/resolver/plan.py
@@ -497,7 +497,7 @@ class merge_plan:
continue
additions += new_additions
- l = self.insert_choice(atom, stack, choices)
+ l = self.insert_choice(atom, choices)
if l is False:
# this means somehow the node already slipped in.
# so we exit now, we are satisfied
@@ -733,7 +733,7 @@ class merge_plan:
c = choice_point(restrict, [pkg])
state.add_op(c, c.current_pkg, force=True).apply(self.state)
- def insert_choice(self, atom, stack, choices):
+ def insert_choice(self, atom, choices):
# first, check for conflicts.
# lil bit fugly, but works for the moment
if not choices.current_pkg.repo.livefs: