Safely unmount self.extfile, if opened.
(self)
| 433 | return self.extfile._get_node(target) |
| 434 | |
| 435 | def umount(self) -> None: |
| 436 | """Safely unmount self.extfile, if opened.""" |
| 437 | extfile = self.extfile |
| 438 | # Close external file, if open |
| 439 | if extfile is not None and extfile.isopen: |
| 440 | extfile.close() |
| 441 | self.extfile = None |
| 442 | |
| 443 | def _f_close(self) -> None: |
| 444 | """Especific close for external links.""" |