File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,15 +122,15 @@ def get_pointer_counter_party_other(cls):
122
122
@classmethod
123
123
def get_permitted_ips (cls ):
124
124
"""
125
- :rtype: str[ ]
125
+ :rtype: list[str ]
126
126
"""
127
127
128
128
permitted_ips_str = cls ._get_config_file ()[cls ._FIELD_PERMITTED_IPS ]
129
129
130
130
if not permitted_ips_str :
131
131
return []
132
- else :
133
- return permitted_ips_str .split (cls ._DELIMITER_IPS )
132
+
133
+ return permitted_ips_str .split (cls ._DELIMITER_IPS )
134
134
135
135
@classmethod
136
136
def _get_config_file (cls ):
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def _ensure_enough_payments(self):
55
55
:rtype: None
56
56
"""
57
57
58
- for i in range (self ._payment_missing_count ):
58
+ for _ in range (self ._payment_missing_count ):
59
59
self ._create_payment ()
60
60
61
61
@property
You can’t perform that action at this time.
0 commit comments