Set subdir to 'new' or 'cur'.
(self, subdir)
| 1622 | return self._subdir |
| 1623 | |
| 1624 | def set_subdir(self, subdir): |
| 1625 | """Set subdir to 'new' or 'cur'.""" |
| 1626 | if subdir == 'new' or subdir == 'cur': |
| 1627 | self._subdir = subdir |
| 1628 | else: |
| 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.""" |
no outgoing calls