'Set subdir to \'new\' or \'cur\'.'

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))
