Return as a string the standard flags that are set on the keyed message.
(self, key)
| 418 | self._toc[key] = new_subpath |
| 419 | |
| 420 | def get_flags(self, key): |
| 421 | """Return as a string the standard flags that are set on the keyed message.""" |
| 422 | info = self.get_info(key) |
| 423 | if info.startswith('2,'): |
| 424 | return info[2:] |
| 425 | return '' |
| 426 | |
| 427 | def set_flags(self, key, flags: str): |
| 428 | """Set the given flags and unset all others on the keyed message.""" |