diff options
author | Brian Harring <ferringb@gmail.com> | 2022-12-21 14:57:08 -0800 |
---|---|---|
committer | Brian Harring <ferringb@gmail.com> | 2022-12-21 18:53:18 -0800 |
commit | d42cd4ec29bdb62ad953105cf7cdf1a11bb053a7 (patch) | |
tree | 3bb490afbf46a98c675bbd3ff1c45a56bda31c12 | |
parent | Reuse the existing regex match rather than running it twice. (diff) | |
download | pkgcore-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.py | 4 |
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: |