From 5d9714c6dcda817a03f4dc0e4c2ab7bb0008016f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 2 Dec 2018 10:11:13 +0100 Subject: [PATCH] UNlink is implicit --- bin/var_editor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/var_editor.py b/bin/var_editor.py index 0e47eb0..b2a7966 100755 --- a/bin/var_editor.py +++ b/bin/var_editor.py @@ -41,7 +41,6 @@ def main(): # We closed the editor, we just have to open the cleartext file, encrypt its content # and save it clear = open(tmp.name, 'rb').read() - os.unlink(tmp.name) wcrypt = open(args[0], 'wb') wcrypt.write(f.encrypt(clear)) wcrypt.flush()