1 |
On 11/24/2015 03:47 AM, Alexander Berntsen wrote: |
2 |
> What's up with the pargs/kwargs stuff? I don't remember that stuff. |
3 |
> |
4 |
> Specifically, what does |
5 |
> On 24/11/15 10:30, Zac Medico wrote: |
6 |
>> + pargs, kwargs = item |
7 |
>> + kwargs = kwargs.copy() |
8 |
>> + kwargs['collect_use_changes'] = True |
9 |
>> + if not self._show_unsatisfied_dep(*pargs, |
10 |
>> + **portage._native_kwargs(kwargs)) |
11 |
> |
12 |
> really do line by line? |
13 |
|
14 |
Oh, let me explain better. The args and kwargs contain arguments for |
15 |
_show_unsatisfied_dep that have been queued for later display. Instead |
16 |
of actually displaying the unsatisfied deps, this code passes an extra |
17 |
collect_use_changes argument to _show_unsatisfied_dep, causing it to |
18 |
create appropriate autounmask changes to solve these unsatisfied deps. |
19 |
-- |
20 |
Thanks, |
21 |
Zac |