Skip to content
Snippets Groups Projects
Commit a09a31b2 authored by rha104's avatar rha104
Browse files

Fixed small issue

parent 0cea8a60
No related branches found
No related tags found
No related merge requests found
Pipeline #75377 passed
......@@ -289,7 +289,7 @@ class SetraClient(object):
return_response=True)
if response.status_code in (204, 202):
return 'OK'
elif response.status_code is 409:
elif response.status_code == 409:
return 'batch_found_but_cannot_be_updated'
else:
response.raise_for_status()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment