Skip to content

Commit 3ed0570

Browse files
committed
Remove trailing semicolons
1 parent 245e661 commit 3ed0570

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

orionsdk/swisclient.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ def _req(self, method, frag, data=None):
5252
verify=self.verify,
5353
auth=self.credentials,
5454
headers={'Content-Type': 'application/json'})
55-
55+
5656
# try to extract reason from response when request returns error
5757
if 400 <= resp.status_code < 600:
5858
try:
59-
resp.reason = json.loads(resp.text)['Message'];
59+
resp.reason = json.loads(resp.text)['Message']
6060
except:
61-
pass;
62-
61+
pass
62+
6363
resp.raise_for_status()
6464
return resp

0 commit comments

Comments
 (0)