def GetCodereviewServer(self):
    if (not self._rietveld_server):
        if self.GetIssue():
            rietveld_server_setting = self.GetCodereviewServerSetting()
            if rietveld_server_setting:
                self._rietveld_server = gclient_utils.UpgradeToHttps(RunGit(['config', rietveld_server_setting], error_ok=True).strip())
        if (not self._rietveld_server):
            self._rietveld_server = settings.GetDefaultServerUrl()
    return self._rietveld_server
def GetCodereviewServer(self):
    if (not self._rietveld_server):
        if self.GetIssue():
            rietveld_server_setting = self.GetCodereviewServerSetting()
            if rietveld_server_setting:
                self._rietveld_server = gclient_utils.UpgradeToHttps(RunGit(['config', rietveld_server_setting], error_ok=True).strip())
        if (not self._rietveld_server):
            self._rietveld_server = settings.GetDefaultServerUrl()
    return self._rietveld_server