diff -r 1f114c797961 -r 6c8384afbf77 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