author | Martin Geisler <mg@aragost.com> |
Wed, 10 Nov 2010 15:38:00 +0100 | |
branch | stable |
changeset 12961 | ad63e5f834e1 |
parent 12960 | e339346a9b05 |
child 12962 | ff083040a555 |
--- a/mercurial/bundlerepo.py Wed Nov 10 13:48:23 2010 +0100 +++ b/mercurial/bundlerepo.py Wed Nov 10 15:38:00 2010 +0100 @@ -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)