def set_flags(self, flags):
        """Set the given flags and unset all others."""
        self._info = '2,' + ''.join(sorted(flags))
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/MaildirMessage.set_flags/original