# HG changeset patch # User Manuel Jacob # Date 1591673085 -7200 # Node ID 6c8384afbf770be2167478fff3cb9b92e1182a06 # Parent 1f114c797961733ea03d0de88390f9555a7edef4 resourceutil: fix location of line comments These comments slipped out of position when the sources where formatted with black in 2372284d9457. 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