changeset 50776:335aeb3d670b

wrapfunction: use sysstr instead of bytes as argument in "clonebundles" 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:10:22 +0100
parents 3c8a31be81df
children 8dc2724d0304
files hgext/clonebundles.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/clonebundles.py	Fri Feb 03 04:10:00 2023 +0100
+++ b/hgext/clonebundles.py	Fri Feb 03 04:10:22 2023 +0100
@@ -349,7 +349,7 @@
 
 
 def extsetup(ui):
-    extensions.wrapfunction(wireprotov1server, b'_capabilities', capabilities)
+    extensions.wrapfunction(wireprotov1server, '_capabilities', capabilities)
 
 
 # logic for bundle auto-generation