mercurial/statprof.py
changeset 38164 aac4be30e250
parent 35413 c8e8e14a5ee9
child 38259 af402c6b90db
--- a/mercurial/statprof.py	Thu May 03 18:39:58 2018 +0900
+++ b/mercurial/statprof.py	Sat May 26 12:14:04 2018 +0900
@@ -112,7 +112,6 @@
 import os
 import signal
 import sys
-import tempfile
 import threading
 import time
 
@@ -691,7 +690,7 @@
               file=fp)
         return
 
-    fd, path = tempfile.mkstemp()
+    fd, path = pycompat.mkstemp()
 
     file = open(path, "w+")