Unlock the mailbox if it is locked.
(self)
| 696 | self._locked = True |
| 697 | |
| 698 | def unlock(self): |
| 699 | """Unlock the mailbox if it is locked.""" |
| 700 | if self._locked: |
| 701 | _unlock_file(self._file) |
| 702 | self._locked = False |
| 703 | |
| 704 | def flush(self): |
| 705 | """Write any pending changes to disk.""" |