Mercurial > hg > PaInt
comparison paint/package.py @ 65:6d6f5c5c26d4
add __del__ method
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Fri, 25 Jan 2013 13:46:11 -0800 |
| parents | 1a279bac0afa |
| children | af7609457dc6 |
comparison
equal
deleted
inserted
replaced
| 64:1a279bac0afa | 65:6d6f5c5c26d4 |
|---|---|
| 118 def _cleanup(self): | 118 def _cleanup(self): |
| 119 if self._tmppath: | 119 if self._tmppath: |
| 120 shutil.rmtree(self._tmppath) | 120 shutil.rmtree(self._tmppath) |
| 121 self._tmppath = None | 121 self._tmppath = None |
| 122 | 122 |
| 123 # __del__ = cleanup | 123 __del__ = _cleanup |
| 124 | 124 |
| 125 ### python-package-specific functionality | 125 ### python-package-specific functionality |
| 126 | 126 |
| 127 def _egg_info(self): | 127 def _egg_info(self): |
| 128 """build the egg_info directory""" | 128 """build the egg_info directory""" |
