changeset 50955:45a53fc82ab2

debuginstall: migrate `opts` to native kwargs
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 21 Aug 2023 17:18:56 -0400
parents 1cfc49e342c3
children 0cf89b099d42
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.