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/gateways.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/leap/bitmask/vpn/gateways.py') diff --git a/src/leap/bitmask/vpn/gateways.py b/src/leap/bitmask/vpn/gateways.py index 92367c3..a7a8fb3 100644 --- a/src/leap/bitmask/vpn/gateways.py +++ b/src/leap/bitmask/vpn/gateways.py @@ -36,7 +36,8 @@ class GatewaySelector(object): # http://www.timeanddate.com/time/map/ equivalent_timezones = {13: -11, 14: -10} - def __init__(self, gateways=None, locations=None, tz_offset=None, preferred=None): + def __init__(self, gateways=None, locations=None, tz_offset=None, + preferred=None): ''' Constructor for GatewaySelector. @@ -117,7 +118,7 @@ class GatewaySelector(object): result.append((label, ip, country)) filtered = self.apply_user_preferences(result) - return filtered + return filtered def apply_user_preferences(self, options): """ @@ -142,7 +143,7 @@ class GatewaySelector(object): applied.append((label, ip, country)) presorted.pop(index) if presorted: - applied += presorted + applied += presorted return applied def get_gateways_country_code(self): -- cgit v1.2.3