Skip to content
Snippets Groups Projects
Commit b3c6c194 authored by Augie Fackler's avatar Augie Fackler
Browse files

wireprotohelpers: add missing b prefixes

# skip-blame just b prefixes

Differential Revision: https://phab.mercurial-scm.org/D4254
parent ed8160e4
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
wireprotov2server,
)
@wireprotov1server.wireprotocommand('customreadonly', permission='pull')
@wireprotov1server.wireprotocommand(b'customreadonly', permission=b'pull')
def customreadonlyv1(repo, proto):
return wireprototypes.bytesresponse(b'customreadonly bytes response')
......@@ -24,7 +24,7 @@
def customreadonlyv1(repo, proto):
return wireprototypes.bytesresponse(b'customreadonly bytes response')
@wireprotov2server.wireprotocommand('customreadonly', permission='pull')
@wireprotov2server.wireprotocommand(b'customreadonly', permission=b'pull')
def customreadonlyv2(repo, proto):
return wireprototypes.cborresponse(b'customreadonly bytes response')
......@@ -28,7 +28,7 @@
def customreadonlyv2(repo, proto):
return wireprototypes.cborresponse(b'customreadonly bytes response')
@wireprotov1server.wireprotocommand('customreadwrite', permission='push')
@wireprotov1server.wireprotocommand(b'customreadwrite', permission=b'push')
def customreadwrite(repo, proto):
return wireprototypes.bytesresponse(b'customreadwrite bytes response')
......@@ -32,7 +32,7 @@
def customreadwrite(repo, proto):
return wireprototypes.bytesresponse(b'customreadwrite bytes response')
@wireprotov2server.wireprotocommand('customreadwrite', permission='push')
@wireprotov2server.wireprotocommand(b'customreadwrite', permission=b'push')
def customreadwritev2(repo, proto):
return wireprototypes.cborresponse(b'customreadwrite bytes response')
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment