##// END OF EJS Templates
py3: use pycompat.bytestr() to convert None to bytes...
Pulkit Goyal -
r36572:06f59bdd default
parent child Browse files
Show More
@@ -191,7 +191,9 b' class localpeer(repository.peer):'
191 191
192 192 def debugwireargs(self, one, two, three=None, four=None, five=None):
193 193 """Used to test argument passing over the wire"""
194 return "%s %s %s %s %s" % (one, two, three, four, five)
194 return "%s %s %s %s %s" % (one, two, pycompat.bytestr(three),
195 pycompat.bytestr(four),
196 pycompat.bytestr(five))
195 197
196 198 def getbundle(self, source, heads=None, common=None, bundlecaps=None,
197 199 **kwargs):
@@ -2231,7 +2233,9 b' class localrepository(object):'
2231 2233
2232 2234 def debugwireargs(self, one, two, three=None, four=None, five=None):
2233 2235 '''used to test argument passing over the wire'''
2234 return "%s %s %s %s %s" % (one, two, three, four, five)
2236 return "%s %s %s %s %s" % (one, two, pycompat.bytestr(three),
2237 pycompat.bytestr(four),
2238 pycompat.bytestr(five))
2235 2239
2236 2240 def savecommitmessage(self, text):
2237 2241 fp = self.vfs('last-message.txt', 'wb')
General Comments 0
You need to be logged in to leave comments. Login now