From 03c58451eaf8904346148835b0c3460deae28c3e Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Wed, 26 Mar 2014 14:54:30 -0300 Subject: Do not redefine signaler signal key. --- src/leap/bitmask/backend.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/leap') diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py index 2d86bf09..6b168d5d 100644 --- a/src/leap/bitmask/backend.py +++ b/src/leap/bitmask/backend.py @@ -131,8 +131,6 @@ class Provider(object): zope.interface.implements(ILEAPComponent) - PROBLEM_SIGNAL = "prov_problem_with_provider" - def __init__(self, signaler=None, bypass_checks=False): """ Constructor for the Provider component @@ -195,7 +193,8 @@ class Provider(object): download_if_needed=True) else: if self._signaler is not None: - self._signaler.signal(self.PROBLEM_SIGNAL) + self._signaler.signal( + self._signaler.PROV_PROBLEM_WITH_PROVIDER_KEY) logger.error("Could not load provider configuration.") self._login_widget.set_enabled(True) -- cgit v1.2.3