def GetDefaultServerUrl(self, error_ok=False):
    if (not self.default_server):
        self.LazyUpdateIfNeeded()
        self.default_server = gclient_utils.UpgradeToHttps(self._GetRietveldConfig('server', error_ok=True))
        if error_ok:
            return self.default_server
        if (not self.default_server):
            error_message = 'Could not find settings file. You must configure your review setup by running "git cl config".'
            self.default_server = gclient_utils.UpgradeToHttps(self._GetRietveldConfig('server', error_message=error_message))
    return self.default_server
def GetDefaultServerUrl(self, error_ok=False):
    if (not self.default_server):
        self.LazyUpdateIfNeeded()
        self.default_server = gclient_utils.UpgradeToHttps(self._GetRietveldConfig('server', error_ok=True))
        if error_ok:
            return self.default_server
        if (not self.default_server):
            error_message = 'Could not find settings file. You must configure your review setup by running "git cl config".'
            self.default_server = gclient_utils.UpgradeToHttps(self._GetRietveldConfig('server', error_message=error_message))
    return self.default_server