def addMailbox(self, name, mbox = None):
        name = name.upper()
        if name in self.mailboxes:
            raise MailboxCollision, name
        if mbox is None:
            mbox = self._emptyMailbox(name, self.allocateID())
        self.mailboxes[name] = mbox
        return 1
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/mail/imap4.py/MemoryAccount.addMailbox/original