Skip to content

Instantly share code, notes, and snippets.

@jaredlockhart
Created February 7, 2019 22:33
Show Gist options
  • Save jaredlockhart/e07d9ade0858be364ef23b7ce73467d1 to your computer and use it in GitHub Desktop.
Save jaredlockhart/e07d9ade0858be364ef23b7ce73467d1 to your computer and use it in GitHub Desktop.
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