Unlock the mailbox if it is locked.
(self)
| 644 | self._locked = True |
| 645 | |
| 646 | def unlock(self): |
| 647 | """Unlock the mailbox if it is locked.""" |
| 648 | if self._locked: |
| 649 | _unlock_file(self._file) |
| 650 | self._locked = False |
| 651 | |
| 652 | def flush(self): |
| 653 | """Write any pending changes to disk.""" |