def _getVbox(self): if rhnreg.registered(): self.start_page = KsRegisteredPage() return self.start_page.startPageVbox() if _haveNetwork(): self.start_page = rhnregGui.StartPage(firstboot=True) else: self.start_page = NoNetworkPage() return self.start_page.startPageVbox()
def _getVbox(self): if self._system_is_registered(): self.start_page = KsRegisteredPage() self.skip_registration = True return self.start_page.startPageVbox() if _haveNetwork(): self.start_page = rhnregGui.StartPage(firstboot=True) else: self.start_page = NoNetworkPage() self.skip_registration = True return self.start_page.startPageVbox()