[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [status] [PATCH] Switch debianbts.get_bugs usage from positional to keyword arguments



On Sun, Dec 18, 2022 at 09:03:51 +0800, Paul Wise wrote:

> This fixes a warning from the debianbts Python module and get-bug-status:
> 
>   Calling get_bugs with positional arguments is deprecated, please use keyword arguments instead.
> ---
>  get-bug-status | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

On Sun, Dec 18, 2022 at 09:17:55 +0800, Paul Wise wrote:

> This fixes a crash with debian.co.il, which was redirecting to another site.
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
>     self.run()
>   File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
>     self._target(*self._args, **self._kwargs)
>   File "/srv/mirror-team.debian.org/status/./generate", line 52, in job_consumer_proc
>     i.prepare(dbh)
>   File "/srv/mirror-team.debian.org/status/dmt/HierarchyGenerator.py", line 271, in prepare
>     row['traces'].remove('master')
> ValueError: list.remove(x): x not in list
> ---
>  dmt/HierarchyGenerator.py | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
(finally) merged, thanks!

Cheers,
Julien


Reply to: