Skip to content

Commit c626660

Browse files
fedarsialitskifilak-sap
authored andcommitted
code: fix coding style violation
Adapted commit of FedorSelitsky <[email protected]> from PR #14 Signed-off-by: Jakub Filak <[email protected]>
1 parent c8e1801 commit c626660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyodata/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __new__(cls, url, connection, odata_version=ODATA_VERSION_2):
3737
'Metadata request failed, status code: {}, body:\n{}'.format(resp.status_code, resp.content), resp)
3838

3939
mime_type = resp.headers['content-type']
40-
if not any((typ in ['application/xml', 'text/xml'] for typ in mime_type.split(';'))):
40+
if not any((typ in ['application/xml', 'text/xml'] for typ in mime_type.split(';'))):
4141
raise HttpError(
4242
'Metadata request did not return XML, MIME type: {}, body:\n{}'.format(mime_type, resp.content),
4343
resp)

0 commit comments

Comments
 (0)