Set the given flag(s) without changing others.
(self, flag)
| 1686 | self.add_header('X-Status', xstatus_flags) |
| 1687 | |
| 1688 | def add_flag(self, flag): |
| 1689 | """Set the given flag(s) without changing others.""" |
| 1690 | self.set_flags(''.join(set(self.get_flags()) | set(flag))) |
| 1691 | |
| 1692 | def remove_flag(self, flag): |
| 1693 | """Unset the given string flag(s) without changing others.""" |