Remove decrypted vault temp_file mistakenly left from patch making vault edit idempotent

This bug was introduced in commit f8bf2ba on July 27.  Hasn't gone out
in a release yet.
This commit is contained in:
Toshio Kuratomi 2015-08-25 14:51:32 -07:00
parent 56ae3a032f
commit d2c948dd6a

View file

@ -257,6 +257,7 @@ class VaultEditor:
# Do nothing if the content has not changed # Do nothing if the content has not changed
if existing_data == tmpdata and not force_save: if existing_data == tmpdata and not force_save:
os.remove(tmp_path)
return return
# create new vault # create new vault