(self, fname)
| 340 | return self._zipfile |
| 341 | |
| 342 | def _open_file(self, fname): |
| 343 | if self._type == 'dir': |
| 344 | return open(os.path.join(os.path.dirname(self._path), fname), 'rb') |
| 345 | if self._type == 'zip': |
| 346 | return self._get_zipfile().open(fname, 'r') |
| 347 | return None |
| 348 | |
| 349 | def close(self): |
| 350 | try: |
no test coverage detected