# HG changeset patch # User Pierre-Yves David # Date 2023-02-03 03:25:43 # Node ID 5ac5f16277a9cc6ced5094fd3b009097df90c5ae # Parent cbd1da10241719e246fe2ca17d4d6b9fdb2222e2 wrapfunction: use sysstr instead of bytes as argument in "remotenames" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`. diff --git a/hgext/remotenames.py b/hgext/remotenames.py --- a/hgext/remotenames.py +++ b/hgext/remotenames.py @@ -255,7 +255,7 @@ def wrapprintbookmarks(orig, ui, repo, f def extsetup(ui): - extensions.wrapfunction(bookmarks, b'_printbookmarks', wrapprintbookmarks) + extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks) def reposetup(ui, repo):