Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit f229482

Browse files
committed
small pylint changes
1 parent 1ed0955 commit f229482

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

CloudFlare/api_extras.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def api_extras(self, extras=None):
3636
if element == parts[0][-1] and len(parts) > 1:
3737
api_call_part1 = '/'.join(element_path)
3838
api_call_part2 = '/'.join(parts[1])
39-
setattr(m, parts[1][0], self._client_with_auth(self.base, api_call_part1, api_call_part2))
39+
setattr(m, parts[1][0],
40+
self._client_with_auth(self.base, api_call_part1, api_call_part2))
4041
current = m
4142
continue
4243
except:
@@ -46,9 +47,11 @@ def api_extras(self, extras=None):
4647
# last element
4748
api_call_part1 = '/'.join(element_path)
4849
api_call_part2 = '/'.join(parts[1])
49-
setattr(current, element, self._client_with_auth(self.base, api_call_part1, api_call_part2))
50+
setattr(current, element,
51+
self._client_with_auth(self.base, api_call_part1, api_call_part2))
5052
else:
5153
api_call_part1 = '/'.join(element_path)
52-
setattr(current, element, self._client_with_auth(self.base, api_call_part1))
54+
setattr(current, element,
55+
self._client_with_auth(self.base, api_call_part1))
5356
current = getattr(current, element)
5457

0 commit comments

Comments
 (0)