mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
Replace mktemp with mkstemp
This commit is contained in:
@@ -288,7 +288,7 @@ class Revoker(object):
|
|||||||
:class:`letsencrypt.revoker.Cert`
|
:class:`letsencrypt.revoker.Cert`
|
||||||
|
|
||||||
"""
|
"""
|
||||||
list_path2 = tempfile.mktemp(".tmp", "LIST")
|
_, list_path2 = tempfile.mkstemp(".tmp", "LIST")
|
||||||
idx = 0
|
idx = 0
|
||||||
|
|
||||||
with open(self.list_path, "rb") as orgfile:
|
with open(self.list_path, "rb") as orgfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user