Skip to content
Snippets Groups Projects
Commit ad63e5f8 authored by Martin Geisler's avatar Martin Geisler
Browse files

bundlerepository: test self.tempfile field, not tempfile module

This error was introduced in 680fe77ab5b8.
parent e339346a
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,8 @@
def __del__(self):
del self.bundle
if tempfile is not None:
os.unlink(tempfile)
if self.tempfile is not None:
os.unlink(self.tempfile)
if self._tempparent:
shutil.rmtree(self._tempparent, True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment