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

Commit cb44158

Browse files
authored
Fixed no-else-raise pylint warning (#438)
1 parent bbdd5d3 commit cb44158

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cloudant/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,9 @@ def _usage_endpoint(self, endpoint, year=None, month=None):
629629

630630
if err:
631631
raise CloudantArgumentError(101, year, month)
632-
else:
633-
resp.raise_for_status()
634-
return response_to_json_dict(resp)
632+
633+
resp.raise_for_status()
634+
return response_to_json_dict(resp)
635635

636636
def bill(self, year=None, month=None):
637637
"""

0 commit comments

Comments
 (0)