summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-24 07:41:21 +0900
committerkali <kali@leap.se>2012-10-24 07:41:21 +0900
commitec888610b0a76cf5d0659e51f36265a4de42b8d7 (patch)
tree546f56c7faa30d7e807383eb33f6f6d508dd849b
parentff02a21ed6ef879c054b01134744068bdfeda664 (diff)
fix checks that were getting default provider domain var still
-rw-r--r--src/leap/eip/checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/eip/checks.py b/src/leap/eip/checks.py
index 44c8f234..cd9d9972 100644
--- a/src/leap/eip/checks.py
+++ b/src/leap/eip/checks.py
@@ -495,7 +495,7 @@ class EIPConfigChecker(object):
def _get_provider_definition_uri(self, domain=None, path=None):
if domain is None:
- domain = baseconstants.DEFAULT_PROVIDER
+ domain = self.domain or baseconstants.DEFAULT_PROVIDER
if path is None:
path = baseconstants.DEFINITION_EXPECTED_PATH
uri = u"https://%s/%s" % (domain, path)
@@ -504,7 +504,7 @@ class EIPConfigChecker(object):
def _get_eip_service_uri(self, domain=None, path=None):
if domain is None:
- domain = baseconstants.DEFAULT_PROVIDER
+ domain = self.domain or baseconstants.DEFAULT_PROVIDER
if path is None:
path = eipconstants.EIP_SERVICE_EXPECTED_PATH
uri = "https://%s/%s" % (domain, path)