##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51443:9e24f844 default
parent child Browse files
Show More
@@ -665,7 +665,7 b' def unbundle(repo, proto, heads):'
665 r = exchange.unbundle(
665 r = exchange.unbundle(
666 repo, gen, their_heads, b'serve', proto.client()
666 repo, gen, their_heads, b'serve', proto.client()
667 )
667 )
668 if util.safehasattr(r, b'addpart'):
668 if util.safehasattr(r, 'addpart'):
669 # The return looks streamable, we are in the bundle2 case
669 # The return looks streamable, we are in the bundle2 case
670 # and should return a stream.
670 # and should return a stream.
671 return wireprototypes.streamreslegacy(gen=r.getchunks())
671 return wireprototypes.streamreslegacy(gen=r.getchunks())
General Comments 0
You need to be logged in to leave comments. Login now