##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51476:833a4e88 default
parent child Browse files
Show More
@@ -415,7 +415,7 b' class localpeer(repository.peer):'
415 try:
415 try:
416 bundle = exchange.readbundle(self.ui, bundle, None)
416 bundle = exchange.readbundle(self.ui, bundle, None)
417 ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
417 ret = exchange.unbundle(self._repo, bundle, heads, b'push', url)
418 if util.safehasattr(ret, b'getchunks'):
418 if util.safehasattr(ret, 'getchunks'):
419 # This is a bundle20 object, turn it into an unbundler.
419 # This is a bundle20 object, turn it into an unbundler.
420 # This little dance should be dropped eventually when the
420 # This little dance should be dropped eventually when the
421 # API is finally improved.
421 # API is finally improved.
General Comments 0
You need to be logged in to leave comments. Login now