changeset 43657 | 38387f9e4d22 |
parent 43633 | 0b7733719d21 |
child 43671 | 664e24207728 |
--- a/mercurial/util.py Thu Nov 14 14:07:36 2019 -0800 +++ b/mercurial/util.py Thu Nov 14 14:14:11 2019 -0800 @@ -1823,7 +1823,7 @@ # the location of data files matching the source code -if procutil.mainfrozen() and getattr(sys, 'frozen', None) != b'macosx_app': +if procutil.mainfrozen() and getattr(sys, 'frozen', None) != 'macosx_app': # executable version (py2exe) doesn't support __file__ datapath = os.path.dirname(pycompat.sysexecutable) else: