Fix tmpfile misspelled as tmplfile (#17183)

This commit is contained in:
Toshio Kuratomi 2016-08-22 11:31:42 -07:00 committed by Toshio Kuratomi
parent bf929ac532
commit 719c73afa2

View file

@ -481,7 +481,7 @@ class VaultFile(object):
# VaultFile a context manager instead (implement __enter__ and __exit__)
def __del__(self):
self.filehandle.close()
os.unlink(self.tmplfile)
os.unlink(self.tmpfile)
def is_encrypted(self):
peak = self.filehandle.readline()