Return as a string the flags that are set.
(self)
| 1629 | raise ValueError("subdir must be 'new' or 'cur': %s" % subdir) |
| 1630 | |
| 1631 | def get_flags(self): |
| 1632 | """Return as a string the flags that are set.""" |
| 1633 | if self._info.startswith('2,'): |
| 1634 | return self._info[2:] |
| 1635 | else: |
| 1636 | return '' |
| 1637 | |
| 1638 | def set_flags(self, flags): |
| 1639 | """Set the given flags and unset all others.""" |