Mercurial > public > mercurial-scm > hg-stable
diff mercurial/utils/procutil.py @ 43115:4aa72cdf616f
py3: delete b'' prefix from safehasattr arguments
Differential Revision: https://phab.mercurial-scm.org/D7029
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 06 Oct 2019 20:17:41 -0700 |
parents | d783f945a701 |
children | 227ba1afcb65 |
line wrap: on
line diff
--- a/mercurial/utils/procutil.py Tue Oct 08 19:35:30 2019 -0700 +++ b/mercurial/utils/procutil.py Sun Oct 06 20:17:41 2019 -0700 @@ -259,8 +259,8 @@ (portable, not much used). """ return ( - pycompat.safehasattr(sys, b"frozen") - or pycompat.safehasattr(sys, b"importers") # new py2exe + pycompat.safehasattr(sys, "frozen") + or pycompat.safehasattr(sys, "importers") # new py2exe or imp.is_frozen(r"__main__") # old py2exe ) # tools/freeze