diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-08-28 17:04:14 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-08-31 11:04:38 +0200 |
commit | f19bfeb73fc19747bd02cbbd5c024de4dc86b5a8 (patch) | |
tree | 2dc001b06043887c22fd40c966cb6af3f92de187 /src/leap/bitmask/vpn/service.py | |
parent | f476bdd9a769364bec7c342b5b6399530d4d454a (diff) |
[refactor] make the VPN location formating in the cli
Diffstat (limited to 'src/leap/bitmask/vpn/service.py')
-rw-r--r-- | src/leap/bitmask/vpn/service.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/leap/bitmask/vpn/service.py b/src/leap/bitmask/vpn/service.py index 71fb8651..f4af3036 100644 --- a/src/leap/bitmask/vpn/service.py +++ b/src/leap/bitmask/vpn/service.py @@ -194,13 +194,7 @@ class VPNService(HookableService): config = yield bonafide.do_provider_read(provider, 'eip') except ValueError: continue - locations = config.locations - info = tuple([ - ('[%s]' % locations[loc]['country_code'], - locations[loc]['name'], - '(UTC%s)' % locations[loc]['timezone']) - for loc in locations]) - provider_dict[provider] = info + provider_dict[provider] = config.locations defer.returnValue(provider_dict) @defer.inlineCallbacks |