(self)
Lock the mailbox.
Lock the mailbox.
Lock the mailbox .
def lock(self):
        """Lock the mailbox."""
        if not self._locked:
            self._file = open(os.path.join(self._path, '.mh_sequences'), 'rb+')
            _lock_file(self._file)
            self._locked = True
def lock ( self ) : if not self . _locked : self . _file = open ( os . path . join ( self . _path , '.mh_sequences' ) , 'rb+' ) _lock_file ( self . _file ) self . _locked = True