diff mercurial/utils/resourceutil.py @ 51686: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 32a1c9226dd9
children 7f0cb9ee0534
line wrap: on
line diff
--- a/mercurial/utils/resourceutil.py	Thu Jul 18 12:03:29 2024 +0200
+++ b/mercurial/utils/resourceutil.py	Thu Jul 18 12:36:12 2024 +0200
@@ -52,7 +52,6 @@
         assert dirs[0] == b"mercurial"
         return os.path.join(_rootpath, *dirs[1:])
 
-
 else:
     datapath = os.path.dirname(os.path.dirname(pycompat.fsencode(__file__)))
     _rootpath = os.path.dirname(datapath)
@@ -98,7 +97,6 @@
         for p in os.listdir(path):
             yield pycompat.fsencode(p)
 
-
 else:
     from .. import encoding