def _set_pages(self, pages):

        self._pages = pages

        # Make sure the current page is valid.
        # If the current page is None (i.e., the current page has
        # not been set yet), do not set it here. The current page will
        # get set when the wizard calls _show_page.
        if self.current_page is not None and \
            self.current_page not in self._pages:
            self.current_page = self._pages[0]
        else:
            self._update()

        return

    ###########################################################################
    # Private interface.
    ###########################################################################
A description of this site.
dataset/ETHPy150Open enthought/pyface/pyface/wizard/wizard_controller.py/WizardController._set_pages--crossover with--dataset/ETHPy150Open mozilla/inventory/core/site/models.py/SiteKeyValue._aa_description