resourceutil: fix location of line comments stable
authorManuel Jacob <me@manueljacob.de>
Tue, 09 Jun 2020 05:24:45 +0200
branchstable
changeset 44924 6c8384afbf77
parent 44923 1f114c797961
child 44954 affe0fb42250
resourceutil: fix location of line comments These comments slipped out of position when the sources where formatted with black in 2372284d9457.
mercurial/utils/resourceutil.py
--- a/mercurial/utils/resourceutil.py	Thu Apr 30 00:33:00 2020 -0400
+++ b/mercurial/utils/resourceutil.py	Tue Jun 09 05:24:45 2020 +0200
@@ -23,10 +23,10 @@
     (portable, not much used).
     """
     return (
-        pycompat.safehasattr(sys, "frozen")
-        or pycompat.safehasattr(sys, "importers")  # new py2exe
-        or imp.is_frozen("__main__")  # old py2exe
-    )  # tools/freeze
+        pycompat.safehasattr(sys, "frozen")  # new py2exe
+        or pycompat.safehasattr(sys, "importers")  # old py2exe
+        or imp.is_frozen("__main__")  # tools/freeze
+    )
 
 
 # the location of data files matching the source code