diff mercurial/wireprotoframing.py @ 51690:493034cc3265

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 18c8c18993f0
children 7f0cb9ee0534
line wrap: on
line diff
--- 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