Created
February 7, 2019 22:34
-
-
Save jaredlockhart/21080b396209acf8cf1dc73cc2aec27f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response_data = make_bugzilla_call(settings.BUGZILLA_CREATE_URL, bug_data) | |
if response_data is not None: | |
if response_data.get("code", None) == INVALID_USER_ERROR_CODE: | |
del bug_data["assigned_to"] | |
response_data = make_bugzilla_call(settings.BUGZILLA_CREATE_URL, bug_data) | |
return response_data.get("id", None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment