diff --git a/letsencrypt/revoker.py b/letsencrypt/revoker.py index 239879542..036309b21 100644 --- a/letsencrypt/revoker.py +++ b/letsencrypt/revoker.py @@ -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: