Mercurial > hg
diff mercurial/sslutil.py @ 37120:a8a902d7176e
procutil: bulk-replace function calls to point to new module
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 15:10:51 +0900 |
parents | f0b6fbea00cf |
children | 46e705b79323 |
line wrap: on
line diff
--- a/mercurial/sslutil.py Sat Mar 24 15:09:33 2018 +0900 +++ b/mercurial/sslutil.py Sat Mar 24 15:10:51 2018 +0900 @@ -22,6 +22,7 @@ util, ) from .utils import ( + procutil, stringutil, ) @@ -686,7 +687,7 @@ for using system certificate store CAs in addition to the provided cacerts file """ - if (not pycompat.isdarwin or util.mainfrozen() or + if (not pycompat.isdarwin or procutil.mainfrozen() or not pycompat.sysexecutable): return False exe = os.path.realpath(pycompat.sysexecutable).lower()