diff -r 39e2b2d062c1 -r 493034cc3265 mercurial/wireprotoframing.py --- a/mercurial/wireprotoframing.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/wireprotoframing.py Thu Jul 18 12:36:12 2024 +0200 @@ -546,7 +546,7 @@ """ atomdicts = [] - for (formatting, args, labels) in atoms: + for formatting, args, labels in atoms: # TODO look for localstr, other types here? if not isinstance(formatting, bytes): @@ -1198,7 +1198,6 @@ b'%s' % stringutil.forcebytestr(e), errtype=b'server', ): - yield frame break @@ -1259,7 +1258,6 @@ for chunk in cborutil.streamencodebytestringfromiter( o.chunks ): - for frame in emitter.send(chunk): yield frame