(self)
| 254 | self._istmpdest = True |
| 255 | |
| 256 | def __del__(self): |
| 257 | # Remove temp directories |
| 258 | if hasattr(self, '_istmpdest') and self._istmpdest: |
| 259 | import shutil |
| 260 | |
| 261 | shutil.rmtree(self._destpath) |
| 262 | |
| 263 | def _iszip(self, filename): |
| 264 | """Test if the filename is a zip file by looking at the file extension. |
no outgoing calls