Fix tmpfile misspelled as tmplfile (#17183)
This commit is contained in:
parent
a4785c2691
commit
384a01fcff
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class VaultFile(object):
|
||||||
# VaultFile a context manager instead (implement __enter__ and __exit__)
|
# VaultFile a context manager instead (implement __enter__ and __exit__)
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
self.filehandle.close()
|
self.filehandle.close()
|
||||||
os.unlink(self.tmplfile)
|
os.unlink(self.tmpfile)
|
||||||
|
|
||||||
def is_encrypted(self):
|
def is_encrypted(self):
|
||||||
peak = self.filehandle.readline()
|
peak = self.filehandle.readline()
|
||||||
|
|
Loading…
Reference in a new issue