changeset 38164 | aac4be30e250 |
parent 37934 | 2d919ab6c5b4 |
child 38166 | cc9aa88792fe |
--- a/mercurial/posix.py Thu May 03 18:39:58 2018 +0900 +++ b/mercurial/posix.py Sat May 26 12:14:04 2018 +0900 @@ -216,7 +216,7 @@ # check directly in path and don't leave checkisexec behind checkdir = path checkisexec = None - fh, fn = tempfile.mkstemp(dir=checkdir, prefix='hg-checkexec-') + fh, fn = pycompat.mkstemp(dir=checkdir, prefix='hg-checkexec-') try: os.close(fh) m = os.stat(fn).st_mode