Return as a string the flags that are set.
(self)
| 1622 | raise ValueError("subdir must be 'new' or 'cur': %s" % subdir) |
| 1623 | |
| 1624 | def get_flags(self): |
| 1625 | """Return as a string the flags that are set.""" |
| 1626 | if self._info.startswith('2,'): |
| 1627 | return self._info[2:] |
| 1628 | else: |
| 1629 | return '' |
| 1630 | |
| 1631 | def set_flags(self, flags): |
| 1632 | """Set the given flags and unset all others.""" |