Unlock the mailbox if it is locked.
(self)
| 703 | self._locked = True |
| 704 | |
| 705 | def unlock(self): |
| 706 | """Unlock the mailbox if it is locked.""" |
| 707 | if self._locked: |
| 708 | _unlock_file(self._file) |
| 709 | self._locked = False |
| 710 | |
| 711 | def flush(self): |
| 712 | """Write any pending changes to disk.""" |