Created
February 7, 2019 22:33
-
-
Save jaredlockhart/e07d9ade0858be364ef23b7ce73467d1 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
69 response_data = make_bugzilla_call(settings.BUGZILLA_CREATE_URL, bug_data) | |
70 | |
71 if response_data is not None: | |
72 if response_data.get("code", None) == INVALID_USER_ERROR_CODE: | |
73 del bug_data["assigned_to"] | |
74 | |
75 response_data = make_bugzilla_call(settings.BUGZILLA_CREATE_URL, bug_data) | |
76 | |
77 return response_data.get("id", None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment