Set subdir to 'new' or 'cur'.
(self, subdir)
| 1541 | return self._subdir |
| 1542 | |
| 1543 | def set_subdir(self, subdir): |
| 1544 | """Set subdir to 'new' or 'cur'.""" |
| 1545 | if subdir == 'new' or subdir == 'cur': |
| 1546 | self._subdir = subdir |
| 1547 | else: |
| 1548 | raise ValueError("subdir must be 'new' or 'cur': %s" % subdir) |
| 1549 | |
| 1550 | def get_flags(self): |
| 1551 | """Return as a string the flags that are set.""" |
no outgoing calls
no test coverage detected