From 002878b1a1d9ab241b1ba5c6e77c8656bcc6fc38 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 11 Aug 2017 14:24:27 -0400 Subject: [style] pep8 --- src/leap/bitmask/vpn/service.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/leap/bitmask/vpn/service.py') diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py index d2f952e..0750a19 100644 --- a/src/leap/bitmask/vpn/service.py +++ b/src/leap/bitmask/vpn/service.py @@ -195,7 +195,7 @@ class VPNService(HookableService): bonafide = self.parent.getServiceNamed("bonafide") _providers = yield bonafide.do_provider_list() providers = [p['domain'] for p in _providers] - provider_dict = {} + provider_dict = {} for provider in providers: try: config = yield bonafide.do_provider_read(provider, 'eip') @@ -210,7 +210,6 @@ class VPNService(HookableService): provider_dict[provider] = info defer.returnValue(provider_dict) - @defer.inlineCallbacks def _setup(self, provider): """Set up TunnelManager for a specified provider. @@ -235,7 +234,7 @@ class VPNService(HookableService): sorted_gateways = GatewaySelector( config.gateways, config.locations, preferred={'cc': pref_cco, 'loc': pref_loc} - ).select_gateways() + ).select_gateways() extra_flags = config.openvpn_configuration -- cgit v1.2.3