##// END OF EJS Templates
bundle2: remove unnecessary try finally...
Durham Goode -
r34261:cc7b37c9 default
parent child Browse files
Show More
@@ -505,7 +505,6 b' def _processpart(op, part):'
505
505
506 The part is guaranteed to have been fully consumed when the function exits
506 The part is guaranteed to have been fully consumed when the function exits
507 (even if an exception is raised)."""
507 (even if an exception is raised)."""
508 try:
509 handler = _gethandler(op, part)
508 handler = _gethandler(op, part)
510 if handler is None:
509 if handler is None:
511 return
510 return
@@ -528,9 +527,6 b' def _processpart(op, part):'
528 mandatory=False)
527 mandatory=False)
529 outpart.addparam(
528 outpart.addparam(
530 'in-reply-to', pycompat.bytestr(part.id), mandatory=False)
529 'in-reply-to', pycompat.bytestr(part.id), mandatory=False)
531 finally:
532 pass
533
534
530
535 def decodecaps(blob):
531 def decodecaps(blob):
536 """decode a bundle2 caps bytes blob into a dictionary
532 """decode a bundle2 caps bytes blob into a dictionary
General Comments 0
You need to be logged in to leave comments. Login now