verify: migrate `opts` to native kwargs
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 20 Aug 2023 02:16:41 -0400
changeset 50853 6bcfd44bc1cd
parent 50852 44be37c200b3
child 50854 1144c69c7f58
verify: migrate `opts` to native kwargs
mercurial/commands.py
--- a/mercurial/commands.py	Sun Aug 20 02:14:57 2023 -0400
+++ b/mercurial/commands.py	Sun Aug 20 02:16:41 2023 -0400
@@ -7961,10 +7961,8 @@
 
     Returns 0 on success, 1 if errors are encountered.
     """
-    opts = pycompat.byteskwargs(opts)
-
     level = None
-    if opts[b'full']:
+    if opts['full']:
         level = verifymod.VERIFY_FULL
     return hg.verify(repo, level)