Alters flag dispositions for messages in mailbox. (typ, [data]) = .store(message_set, command, flags)
(self, message_set, command, flags)
| 944 | |
| 945 | |
| 946 | def store(self, message_set, command, flags): |
| 947 | """Alters flag dispositions for messages in mailbox. |
| 948 | |
| 949 | (typ, [data]) = <instance>.store(message_set, command, flags) |
| 950 | """ |
| 951 | if (flags[0],flags[-1]) != ('(',')'): |
| 952 | flags = '(%s)' % flags # Avoid quoting the flags |
| 953 | typ, dat = self._simple_command('STORE', message_set, command, flags) |
| 954 | return self._untagged_response(typ, dat, 'FETCH') |
| 955 | |
| 956 | |
| 957 | def subscribe(self, mailbox): |
no test coverage detected