summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/provider/providerbootstrapper.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-01-07 19:06:49 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-01-09 14:27:42 -0300
commitf4a0747e216fb651628490f7849d2e4c9c6d8092 (patch)
tree622384d3b6c0845321735d1a3d172ce0dd414780 /src/leap/bitmask/provider/providerbootstrapper.py
parentfc0663054c4f76c1103291c334bb60c0dff1280b (diff)
Warn the user on incompatible api error.
- Add a proper signal for the incompatible api error. - Warn the user of an incompatible api.
Diffstat (limited to 'src/leap/bitmask/provider/providerbootstrapper.py')
-rw-r--r--src/leap/bitmask/provider/providerbootstrapper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/provider/providerbootstrapper.py b/src/leap/bitmask/provider/providerbootstrapper.py
index e00dd646..52ebacd2 100644
--- a/src/leap/bitmask/provider/providerbootstrapper.py
+++ b/src/leap/bitmask/provider/providerbootstrapper.py
@@ -227,8 +227,7 @@ class ProviderBootstrapper(AbstractBootstrapper):
'Found: {1}.').format(api_supported, api_version)
logger.error(error)
- self._signaler.signal(
- self._signaler.PROV_PROBLEM_WITH_PROVIDER_KEY)
+ self._signaler.signal(self._signaler.PROV_UNSUPPORTED_API)
raise UnsupportedProviderAPI(error)
def run_provider_select_checks(self, domain, download_if_needed=False):