8000 Fix TypeError when there was no response body. by alimony · Pull Request #17 · salesforce-marketingcloud/FuelSDK-Python · GitHub
[go: up one dir, main page]

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

Fix TypeError when there was no response body. #17

Merged
merged 1 commit into from
Feb 22, 2014
Merged

Fix TypeError when there was no response body. #17

merged 1 commit into from
Feb 22, 2014

Conversation

alimony
Copy link
@alimony alimony commented Feb 19, 2014

This will prevent TypeError: argument of type 'NoneType' is not iterable if there was no response body, e.g. when status code was 400 or similar. (In that case body will be None.)

cmoad added a commit that referenced this pull request Feb 22, 2014
Fix TypeError when there was no response body.
@cmoad cmoad merged commit 705d95c into salesforce-marketingcloud:master Feb 22, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0