changeset 50790:5ac5f16277a9

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`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 03 Feb 2023 04:25:43 +0100
parents cbd1da102417
children d51a76b5262b
files hgext/remotenames.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotenames.py	Fri Feb 03 04:25:07 2023 +0100
+++ b/hgext/remotenames.py	Fri Feb 03 04:25:43 2023 +0100
@@ -255,7 +255,7 @@
 
 
 def extsetup(ui):
-    extensions.wrapfunction(bookmarks, b'_printbookmarks', wrapprintbookmarks)
+    extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks)
 
 
 def reposetup(ui, repo):