mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Replace mktemp with mkstemp
This commit is contained in:
parent
22260a82af
commit
31af7b3a02
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ class Revoker(object):
|
|||
:class:`letsencrypt.revoker.Cert`
|
||||
|
||||
"""
|
||||
list_path2 = tempfile.mktemp(".tmp", "LIST")
|
||||
_, list_path2 = tempfile.mkstemp(".tmp", "LIST")
|
||||
idx = 0
|
||||
|
||||
with open(self.list_path, "rb") as orgfile:
|
||||
|
|
|
|||
Loading…
Reference in a new issue