Remove white space between print () in exc.py
There is a white space in line [print (*, then we remove it. Change-Id: I4ec20501a11f2cbb5b8eb1623d18088d04bfdaad
This commit is contained in:
parent
eba6e59fe9
commit
10a85eb271
@ -40,7 +40,7 @@ def from_response(resp, url, method):
|
|||||||
body = json.loads(resp.text)
|
body = json.loads(resp.text)
|
||||||
msg = body.get('description', None)
|
msg = body.get('description', None)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print ('get msg failed, resp.text:%s, e:%s ' % (resp.text, e))
|
print('get msg failed, resp.text:%s, e:%s ' % (resp.text, e))
|
||||||
|
|
||||||
return ClientException(resp.status_code, message=msg,
|
return ClientException(resp.status_code, message=msg,
|
||||||
url=url, method=method)
|
url=url, method=method)
|
||||||
|
Loading…
Reference in New Issue
Block a user