# HG changeset patch # User Matt Harbison # Date 1692652736 14400 # Node ID 45a53fc82ab25a1a773d2b0d0c116d0fb70703f8 # Parent 1cfc49e342c3e0874d485941909ca20329c3beb3 debuginstall: migrate `opts` to native kwargs diff -r 1cfc49e342c3 -r 45a53fc82ab2 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 17:16:43 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:18:56 2023 -0400 @@ -1956,11 +1956,9 @@ Returns 0 on success. """ - opts = pycompat.byteskwargs(opts) - problems = 0 - fm = ui.formatter(b'debuginstall', opts) + fm = ui.formatter(b'debuginstall', pycompat.byteskwargs(opts)) fm.startitem() # encoding might be unknown or wrong. don't translate these messages.