Return as a string the standard flags that are set on the keyed message.
(self, key)
| 425 | self._toc[key] = new_subpath |
| 426 | |
| 427 | def get_flags(self, key): |
| 428 | """Return as a string the standard flags that are set on the keyed message.""" |
| 429 | info = self.get_info(key) |
| 430 | if info.startswith('2,'): |
| 431 | return info[2:] |
| 432 | return '' |
| 433 | |
| 434 | def set_flags(self, key, flags: str): |
| 435 | """Set the given flags and unset all others on the keyed message.""" |