mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
Replace mktemp with mkstemp
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user