mercurial/utils/compression.py
changeset 50910 93b0de7f13ca
parent 48946 642e31cb55f0
child 50925 d718eddf01d9
--- a/mercurial/utils/compression.py	Wed Aug 30 00:45:10 2023 +0200
+++ b/mercurial/utils/compression.py	Fri Sep 01 12:11:11 2023 +0200
@@ -185,7 +185,7 @@
         """
         assert role in (SERVERROLE, CLIENTROLE)
 
-        attr = b'serverpriority' if role == SERVERROLE else b'clientpriority'
+        attr = 'serverpriority' if role == SERVERROLE else 'clientpriority'
 
         engines = [self._engines[e] for e in self._wiretypes.values()]
         if onlyavailable: