Lock the mailbox.
(self)
| 1161 | pass |
| 1162 | |
| 1163 | def lock(self): |
| 1164 | """Lock the mailbox.""" |
| 1165 | if not self._locked: |
| 1166 | self._file = self._open_mh_sequences_file(text=False) |
| 1167 | _lock_file(self._file) |
| 1168 | self._locked = True |
| 1169 | |
| 1170 | def unlock(self): |
| 1171 | """Unlock the mailbox if it is locked.""" |