(self, subdir)
Set subdir to 'new' or 'cur'.
Set subdir to 'new' or 'cur'.
Set subdir to new or cur .
def set_subdir(self, subdir):
        """Set subdir to 'new' or 'cur'."""
        if subdir == 'new' or subdir == 'cur':
            self._subdir = subdir
        else:
            raise ValueError("subdir must be 'new' or 'cur': %s" % subdir)
def set_subdir ( self , subdir ) : if subdir == 'new' or subdir == 'cur' : self . _subdir = subdir else : raise ValueError ( "subdir must be 'new' or 'cur': %s" % subdir )