def __init__(self, path, factory=None, create=True):
        Mailbox.__init__(self, path, factory, create)
        if not os.path.exists(self._path):
            if create:
                os.mkdir(self._path, 0700)
                os.close(os.open(os.path.join(self._path, '.mh_sequences'),
                                 os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0600))
            else:
                raise NoSuchMailboxError(self._path)
        self._locked = False
Returns a sorted list of cached channels.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MH.__init__--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2ChanList.get_channel_list