'Return a list of theme directories, beginning with this theme\'s,
then the base theme\'s, then that one\'s base theme\'s, etc.'

def get_theme_dirs(self):

    if (self.base is None):
        return [self.themedir]
    else:
        return ([self.themedir] + self.base.get_theme_dirs())
